This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-02
Channels
- # announcements (1)
- # beginners (15)
- # calva (6)
- # cider (72)
- # clojure (105)
- # clojure-europe (2)
- # clojure-france (1)
- # clojure-italy (4)
- # clojure-nl (2)
- # clojure-uk (32)
- # clojurescript (14)
- # code-reviews (10)
- # cursive (8)
- # data-science (2)
- # datomic (38)
- # events (1)
- # fulcro (31)
- # graphql (1)
- # hyperfiddle (47)
- # java (4)
- # jobs (4)
- # off-topic (18)
- # overtone (2)
- # parinfer (12)
- # pathom (19)
- # pedestal (4)
- # philosophy (2)
- # portkey (22)
- # re-frame (42)
- # reagent (1)
- # rum (1)
- # shadow-cljs (36)
- # specter (3)
- # tools-deps (2)
The pathom dev guide says that pathom-remote will use a pathom async parser. Can I use it with the parallel parser?
It would be nice to have an example of fulcro using pathom. For instance, I don't know how to set the api endpoint and request-middleware without using fulcro's
fulcro-http-remote
Nevermind. I misunderstood. I can keep using fulcro-http-remote as long as I'm using pathom on the server.
@pauld correct, and about the async and parallel, yes, you can use, the parallel is an async parser
Is there a trick to calling a mutation that's defined in a namespace other than the one that has the parser defined?
I get strange errors when I try to do this. On the browser console I get:
java.lang.Exception: Not supported: class java.lang.Class
When I call it from my clojure repl I get:
#:cawala.api.mutations{delete-person
#:com.wsscode.pathom.core{:reader-error
java.lang.NullPointerException}}
It seems to work in my repl when called from the same namespace as my parser via:
`[(delete-person {:list-id 1 :person-id 1})]