@vijayakkineni the response coercion is on by default. Hmm.. at least defining the exact response code, it should work,so:
(defnk ^:command echo-pizza
"Echoes a pizza"
{:responses {cqrs/success-status {:schema Pizza}}}
[data :- Pizza]
(cqrs/success {:a 1}))
if the :default
does not run response coercion, please write an issue to github, will fix that then.
@ikitommi cqrs/success-status works. Will open an issue on github for the :default response coercion
ok, thanks