This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-06
Channels
- # beginners (137)
- # cider (60)
- # cljs-dev (52)
- # cljsrn (5)
- # clojars (15)
- # clojure (156)
- # clojure-brasil (1)
- # clojure-dev (7)
- # clojure-italy (13)
- # clojure-serbia (2)
- # clojure-spec (12)
- # clojure-uk (76)
- # clojurescript (129)
- # core-async (27)
- # core-typed (1)
- # cursive (3)
- # datomic (105)
- # devcards (39)
- # emacs (10)
- # figwheel (1)
- # fulcro (68)
- # graphql (6)
- # juxt (3)
- # klipse (85)
- # lein-figwheel (47)
- # leiningen (3)
- # midje (1)
- # mount (26)
- # off-topic (71)
- # om (4)
- # overtone (4)
- # parinfer (3)
- # pedestal (4)
- # portkey (37)
- # re-frame (37)
- # reagent (13)
- # reitit (3)
- # ring (1)
- # rum (5)
- # shadow-cljs (191)
- # spacemacs (35)
- # specter (26)
- # tools-deps (45)
- # vim (20)
Has anyone come across issues with process-roots
on later cljs versions?
I had a mutate that was working perfectly fine before, but now get's transformed into [{(user/login {:username "username", :password "password", :remember nil}) []}]
by process-roots
.
The parser couldn't be simpler: (defmethod mutate 'user/login [_ _ _] {:api true})
. Before process-roots: [(user/login {:username "username", :password "password", :remember nil})]
Apologies, it turns out to be a problem in my code before process-roots is called.
Is there any/recommended way to make om.next/parser
evaluate with async :read
multimethods? The use case would be a simple query parser on a node.js server, which would fetch each entity from database asynchronously. My limited CLJS/Om knowledge tells me this would not be possible – in which case, would something like Pathom be the way to go? Thanks for any ideas or tips