This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-28
Channels
- # beginners (98)
- # cider (11)
- # clj-kondo (18)
- # cljsrn (4)
- # clojure (31)
- # clojure-uk (5)
- # clojuredesign-podcast (1)
- # clojurescript (18)
- # cursive (11)
- # dirac (5)
- # emacs (1)
- # figwheel-main (6)
- # fulcro (13)
- # off-topic (3)
- # pathom (3)
- # reagent (3)
- # rewrite-clj (1)
- # shadow-cljs (2)
- # tools-deps (19)
- # vim (2)
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 ?
i was trying this
(defmutation create-invoice
[{:keys [conn]} {invoice :entity}]
{::pc/sym 'dataico.ui.invoice.actions/create-invoice
::p/fail-fast true}
(create-invoice* conn invoice)
{})