This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-27
Channels
- # announcements (2)
- # babashka (60)
- # beginners (73)
- # calva (23)
- # cider (2)
- # clj-kondo (19)
- # cljs-dev (31)
- # clojure (29)
- # clojure-berlin (1)
- # clojure-europe (6)
- # clojure-nl (17)
- # clojure-spec (21)
- # clojure-uk (15)
- # clojurescript (54)
- # core-async (48)
- # cursive (35)
- # datomic (12)
- # emacs (12)
- # fulcro (66)
- # graalvm (3)
- # graphql (16)
- # jackdaw (1)
- # malli (1)
- # off-topic (11)
- # pedestal (4)
- # re-frame (10)
- # reitit (1)
- # rewrite-clj (8)
- # ring-swagger (8)
- # shadow-cljs (14)
- # spacemacs (2)
- # vim (5)
I'm looking at what https://graphql.github.io/graphql-spec/June2018/#sec-Executing-Requests says about operations
mutations must execute sequentially; the first mutation must fully complete before the second mutation is executed.
Wait, can I send two queries in one HTTP request to Lacinia, and I get two answers in one response?
lacinia-pedestal might not have that built in but it seems easy enough to check whether the request is an object or an array of objects
query {
customer(id: 12345) { name }
order(id: "12345") { date }
}
A single query can hit multiple query operations at the same time.