This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-23
Channels
- # beginners (169)
- # boot (8)
- # cider (20)
- # cljdoc (66)
- # cljs-dev (1)
- # cljsrn (1)
- # clojure (185)
- # clojure-greece (11)
- # clojure-italy (16)
- # clojure-nl (5)
- # clojure-spec (16)
- # clojure-uk (39)
- # clojurescript (11)
- # cursive (26)
- # data-science (2)
- # datavis (1)
- # datomic (40)
- # emacs (10)
- # figwheel-main (64)
- # graphql (10)
- # hyperfiddle (1)
- # jobs (2)
- # leiningen (9)
- # luminus (3)
- # nyc (1)
- # off-topic (19)
- # om (1)
- # onyx (6)
- # pedestal (2)
- # re-frame (35)
- # reagent (17)
- # ring-swagger (9)
- # rum (1)
- # shadow-cljs (42)
- # spacemacs (8)
- # specter (7)
- # tools-deps (4)
- # yada (6)
I sort of have stillsuit up and connected, except that it’s ignoring my schema and only shows entity_by_eid
and entity_by_unique_id
in my query root.
I’m passing the lacinia schema and my resolvers into stillsuit/decorate
, but it’s still just giving me those two queries.
I think I got past that by: 1) not compiling the schema before giving it to decorate
, and 2) passing the resolvers to decorate
rather than attaching them to the schema
but when I go to use it, the datomic connection isn’t showing up in :app-context
in my resolver.
aha! I’m setting :routes
explicitly (to include non-lacinia routes), which ignores :app-context
and defers it to the options map provided to`graphql-routes`.
Sorry for the delay @curtosis, still working on getting the sample project up and running. It sort of fell behind the stillsuit development and I'm not crazy familiar with pedestal in the first place
no worries at all … it’s arguably been good to dig into the code more myself to understand what’s going on
The stillsuit stuff is super anemic, but it demonstrates how to integrate with lacinia-pedestal and run catchpocket for automatic schema generation