This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-05
Channels
- # 100-days-of-code (13)
- # announcements (3)
- # beginners (120)
- # boot (17)
- # calva (19)
- # cider (27)
- # cljdoc (3)
- # cljs-dev (1)
- # clojure (138)
- # clojure-dev (5)
- # clojure-italy (5)
- # clojure-nl (20)
- # clojure-russia (3)
- # clojure-spec (14)
- # clojure-uk (119)
- # clojurescript (45)
- # core-async (2)
- # datomic (23)
- # editors (28)
- # emacs (35)
- # figwheel (2)
- # fulcro (26)
- # graphql (2)
- # hyperfiddle (11)
- # jobs (4)
- # luminus (5)
- # mount (2)
- # off-topic (52)
- # onyx (39)
- # reagent (86)
- # ring-swagger (2)
- # spacemacs (20)
- # tools-deps (9)
- # yada (4)
Hello friends, does someone already had this kind of error Unknown app state mutation. Have you required the file with your mutations?
- and yes, my defmutation
is on the same namespace as the defsc
where it’s called
typo? maybe bad quoting?
nope - defmutation
does fully qualified namespad symbol right ?
can you share the code for the mutation and the call site?
yep, let me make a gist
defmutation edit-form-number
vs (prim/transact! this [(edit-phone-number
, there is a typo form
vs phone
shame on me
really sorry
no worries
thats why I love using cursive, it can auto-complete on those, and complain if they are wrong 🙂
indeed, cursive is excellent
but I felt in love with emacs - I can’t change that
offtopic: i think there are emacs linters which can check those kind of errors
when creating parser for pathom, how can I remove keys with value :com.wsscode.pathom.core/not-found
? e.g., {:a 1 :b :com.wssscode.pathom.core/not-found}
becomes just {:a 1}
@mavbozo Tony said the right things, here you can findf the post process: https://github.com/wilkerlucio/pathom/blob/master/src/com/wsscode/pathom/core.cljc#L657-L663
and elide not found: https://github.com/wilkerlucio/pathom/blob/master/src/com/wsscode/pathom/core.cljc#L222-L225
you can use as: ::p/plugins [(p/post-process-parser-plugin p/elide-not-found)]