This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-19
Channels
- # aws (2)
- # beginners (135)
- # boot (20)
- # chestnut (7)
- # cider (18)
- # clara (5)
- # cljs-dev (50)
- # cljsrn (30)
- # clojure (252)
- # clojure-italy (9)
- # clojure-losangeles (5)
- # clojure-russia (8)
- # clojure-spec (33)
- # clojure-uk (5)
- # clojurescript (32)
- # clr (4)
- # cursive (5)
- # data-science (1)
- # datascript (1)
- # datomic (40)
- # emacs (1)
- # fulcro (18)
- # graphql (11)
- # hoplon (3)
- # lein-figwheel (2)
- # lumo (47)
- # off-topic (2)
- # om-next (3)
- # onyx (10)
- # pedestal (22)
- # protorepl (6)
- # re-frame (7)
- # reagent (38)
- # ring (1)
- # ring-swagger (5)
- # rum (3)
- # spacemacs (19)
- # specter (5)
- # vim (13)
- # yada (16)
The next release of Lacinia will include the option of parsing GraphQL IDL into Lacinia's EDN format. This will be nice when, for example, sharing a single schema across different platforms.
The parse-schema function accepts an option map for attaching resolvers, documentation, scalar xforms, and (for subscriptions) streamers.
Hi, lacinia is really great stuff. I have a quick question, i’ve built a quick ring/compojure app using that leaderboard-api demo as a guide. Got things working just sending queries via Swagger,but now trying to get GraphiQL working. Not sure how I should serve (what endpoint does it expect, etc) the schema down to graphiql
@eoliphant GraphIQL will feed off a standard graphql endpoint
oh, ok. I just got this going so I’m probably missing something. Like only the POST is working at the moment. Will make sure the GET is as well
@eoliphant POST is the only required endpoint. lacinia-pedestal
has a GET route to serve the GraphiQL interface, but that’s not required. For example, I am on OS X and use https://github.com/skevy/graphiql-app
You can install that app (https://github.com/skevy/graphiql-app/releases). Then you will be able to specify the endpoint URL, which should be your POST route