This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-26
Channels
- # announcements (4)
- # beginners (160)
- # boot (2)
- # calva (40)
- # cider (41)
- # clara (24)
- # cljdoc (2)
- # cljs-dev (99)
- # clojars (4)
- # clojure (71)
- # clojure-dev (9)
- # clojure-europe (4)
- # clojure-italy (2)
- # clojure-nl (19)
- # clojure-spec (97)
- # clojure-uk (103)
- # clojurescript (57)
- # core-logic (1)
- # cursive (15)
- # data-science (31)
- # datomic (24)
- # duct (1)
- # emacs (39)
- # events (7)
- # figwheel-main (14)
- # fulcro (44)
- # garden (7)
- # jobs (13)
- # juxt (1)
- # leiningen (29)
- # music (2)
- # nyc (4)
- # off-topic (37)
- # pathom (12)
- # re-frame (26)
- # ring (1)
- # ring-swagger (10)
- # shadow-cljs (35)
- # spacemacs (2)
- # specter (4)
- # test-check (67)
http://book.fulcrologic.com/#MutationJoins @eoliphant mutation-merge is now deprecared. That's the new (and clear) way
Anyone seen infinite loops on pathom parallel parser? I have been using a parallel parser on this project for some time, and for larger responses it just started “hanging” forever (but spinning GC/CPU). Dropping it to a normal parser fixes it (fortunately none of the resolvers returned channels yet)
Hi friends, when going through the pathom documentation for using the connect graphql remote, it uses the fake :demo-repos
resolver. How would I specify a query with an argument? I’ve tried (df/load app {:event-by-id "c59cef71-f52e-45cf-a1c4-9960314b540e"} root/Root {:target [::root "singleton" :event-by-id]})
but I get an exception Uncaught Error: Assert failed: (or (util/ident? server-property-or-ident) (keyword? server-property-or-ident))
. What am I missing here?
@tony.kay I just released yesterday one fix for a timeout situation on some error edge cases, not sure if it's the same thing, but please try 2.2.11
and let me know if improves, if doens't would be really helpful if you can get a minimal repro of it
@joe.lane to send arguments for a query you can use a load with an ident, or use :params
in the query options
@joe.lane sorry about that, going to fix, you can find the sources here https://github.com/wilkerlucio/pathom/blob/master/workspaces/src/com/wsscode/pathom/workspaces/graphql/simple_todo_demo.cljs
Thanks again!! This simple-todo-demo answers several other questions I had related to both fulcro and pathom.
Would Pathom be open to a PR (or issue if the authors prefer) on the graphql-network
function https://github.com/wilkerlucio/pathom/blob/master/src/com/wsscode/pathom/fulcro/network.cljs#L190
I need to add auth headers to my simple graphql request and I dont know of any better place than a second arity or default argument.
Am I missing something? Should this be done via middleware or some other mechanism?
@joe.lane I'm open to the PR to add, we can have a arity 2 version of it that takes options map, that can include custom headers
@wilkerlucio Great, I’ll be needing it shortly.