Fork me on GitHub
#pathom
<
2019-07-28
>
daniel.spaniel15:07:28

what is a good way to get the pathom parser to throw exceptions for certain mutations i am doing in fulcro. is there a way i can merge {::fail-fast true} into the pathom request , since I only want to throw the exception on certain mutations or is there a way I can include that in the fulcro ui request ?

daniel.spaniel15:07:01

i was trying this

daniel.spaniel15:07:04

(defmutation create-invoice
  [{:keys [conn]} {invoice :entity}]
  {::pc/sym 'dataico.ui.invoice.actions/create-invoice
   ::p/fail-fast true}
  (create-invoice* conn invoice)
  {})