kekkonen

ikitommi 2016-08-29T14:04:47.000003Z

@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}))

ikitommi 2016-08-29T14:05:17.000004Z

if the :default does not run response coercion, please write an issue to github, will fix that then.

vijayakkineni 2016-08-29T14:50:57.000005Z

@ikitommi cqrs/success-status works. Will open an issue on github for the :default response coercion

ikitommi 2016-08-29T14:52:25.000006Z

ok, thanks