Fork me on GitHub
#fulcro
<
2018-10-05
>
baptiste-from-paris12:10:13

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

wilkerlucio12:10:32

typo? maybe bad quoting?

baptiste-from-paris12:10:56

nope - defmutation does fully qualified namespad symbol right ?

wilkerlucio12:10:09

can you share the code for the mutation and the call site?

baptiste-from-paris12:10:04

yep, let me make a gist

wilkerlucio12:10:34

defmutation edit-form-number vs (prim/transact! this [(edit-phone-number, there is a typo form vs phone

wilkerlucio12:10:31

thats why I love using cursive, it can auto-complete on those, and complain if they are wrong 🙂

baptiste-from-paris12:10:29

indeed, cursive is excellent

baptiste-from-paris12:10:47

but I felt in love with emacs - I can’t change that

kirill.salykin12:10:58

offtopic: i think there are emacs linters which can check those kind of errors

mavbozo13:10:54

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}

tony.kay14:10:43

@mavbozo yes, there’s a plugin…

tony.kay14:10:31

trying to remember the name

tony.kay14:10:48

elide-not-found, I think

tony.kay14:10:41

with post-process-parser-plugin?

wilkerlucio17:10:28

you can use as: ::p/plugins [(p/post-process-parser-plugin p/elide-not-found)]

tony.kay19:10:36

Released 2.6.6 to clojars. This fixes the mysterious rendering bug in 2.6.5, which was due to accidental name shadowing.

👍 16
wilkerlucio19:10:54

just tested with 2.6.6, refresh issues are gone 🙂

12