This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-07
Channels
- # beginners (166)
- # cider (6)
- # cljs-dev (12)
- # cljsrn (64)
- # clojure (71)
- # clojure-chicago (1)
- # clojure-spec (14)
- # clojure-uk (2)
- # clojurescript (25)
- # datomic (2)
- # docs (1)
- # duct (1)
- # emacs (4)
- # fulcro (5)
- # graphql (3)
- # java (46)
- # mount (5)
- # off-topic (29)
- # onyx (1)
- # portkey (10)
- # re-frame (12)
- # remote-jobs (1)
- # shadow-cljs (46)
- # spacemacs (1)
- # specter (4)
- # vim (2)
Am I correct in understanding that (defmutation ^:intern new-foo ...
creates a function called new-foo
in the namespace in which defmutation
is called?
@U8QTB156K as far as I know defmutation is just a macro that creates a multimethod. If you give it a namespace it will use that one, if its simple it will gen the dispatch key with the current namespace. No ideea about the ^:intern
stuff.
That does intern a symbol into the ns for the action. I added it primarily so devcards could find the source code for display…but it is also useful for testing.
I'm a bit stumped as to why a certain value isn't being sent to remote
. I have a component Survey
that has Question
's. User input runs mutations to give values to Question
. I see those values both on screen in the DB of fulcro-inspect, but when I transact the submit mutation from Survey
, the values on each Question
are absent, and don't get sent to remote. What am I missing?