This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-07
Channels
- # announcements (2)
- # babashka (38)
- # beginners (38)
- # calva (4)
- # cider (1)
- # clj-kondo (43)
- # clojure (50)
- # clojure-dev (39)
- # clojure-europe (4)
- # clojure-spec (4)
- # clojure-uk (2)
- # conjure (6)
- # core-async (5)
- # core-typed (3)
- # data-science (2)
- # datomic (6)
- # depstar (4)
- # emacs (1)
- # events (2)
- # fulcro (4)
- # jobs-discuss (4)
- # luminus (1)
- # off-topic (5)
- # re-frame (14)
- # shadow-cljs (8)
- # sql (8)
- # tools-deps (22)
I have the namespaces buidler.mutations
and buidler.ui
. In the former, I require the latter so that I can make use of it when calling fs/add-form-config*
in the mutation.
I can't seem to get the quoted version of the mutation invocation to work in buidler.ui
:
{:onClick #(and
; (comp/transact! this [(save-note props)])
(comp/transact! this `[(buidler.mutations/save-note ~props)])
(mutations/set-value! this :note/text ""))
:disabled (fs/invalid-spec? props :note/text)}
The commented version works when I use a require, but the quoted version gives me this in the console when I click to submit:
ERROR [com.fulcrologic.fulcro.mutations:247] - Unknown app state mutation. Have you required the file with your mutations? buidler.mutations/save-note