This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-05
Channels
- # babashka (14)
- # beginners (62)
- # calva (1)
- # cider (54)
- # clj-kondo (3)
- # cljdoc (15)
- # cljs-dev (2)
- # clojure (180)
- # clojure-europe (5)
- # clojure-italy (4)
- # clojure-losangeles (1)
- # clojure-nl (2)
- # clojure-spec (10)
- # clojure-uk (39)
- # clojurescript (85)
- # core-async (9)
- # core-logic (1)
- # core-typed (5)
- # data-science (27)
- # datomic (2)
- # emacs (15)
- # figwheel-main (98)
- # fulcro (26)
- # graphql (15)
- # helix (1)
- # jobs-discuss (26)
- # kaocha (1)
- # off-topic (54)
- # other-lisps (1)
- # re-frame (21)
- # reagent (1)
- # reitit (3)
- # shadow-cljs (49)
- # spacemacs (12)
- # specter (5)
- # xtdb (2)
hi people!! has anyone here ever played with re-graph
please ? I have a little issue while trying to initialize it with re-frame
. Even though, I only set the http
part of the re-graph
init configuration with the following :
cljs.user> (rf/dispatch [::re-graph/init {:http {:url ""} :ws nil}])
when I check re-frame.db/app-db
though, I have the following :
cljs.user> db/app-db
#<Atom: {:re-graph {:re-graph.internals/default {:websocket {:url "ws://localhost:8080/graphql-ws", :sub-protocol "graphql-ws", :ready? false, :connection-init-payload {}, :queue [], :reconnect-timeout 5000, :resume-subscriptions? true}, :http-url "/graphql", :http-parameters {}, :subscriptions {}}}}>
What do you mean, you can use lacinia-pedestal to make a pedestal service serving a graphql schema handled by lacinia
There is a little example in lacinia-pedestals readme: https://github.com/walmartlabs/lacinia-pedestal#usage