This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-18
Channels
- # announcements (9)
- # atom-editor (29)
- # aws (17)
- # babashka (72)
- # beginners (83)
- # braveandtrue (3)
- # calva (7)
- # cider (16)
- # clj-kondo (15)
- # cljs-dev (146)
- # cljsjs (1)
- # cljsrn (8)
- # clojars (1)
- # clojure (96)
- # clojure-dev (19)
- # clojure-europe (53)
- # clojure-losangeles (1)
- # clojure-nl (3)
- # clojure-spec (7)
- # clojure-uk (235)
- # clojuredesign-podcast (5)
- # clojurescript (81)
- # conjure (73)
- # cursive (7)
- # data-science (1)
- # datomic (5)
- # defnpodcast (8)
- # emacs (3)
- # figwheel-main (34)
- # fulcro (83)
- # graalvm (10)
- # graphql (6)
- # helix (49)
- # jackdaw (3)
- # jobs (1)
- # joker (1)
- # kaocha (1)
- # mid-cities-meetup (10)
- # off-topic (17)
- # pathom (16)
- # re-frame (11)
- # reagent (18)
- # reitit (18)
- # remote-jobs (4)
- # shadow-cljs (63)
- # spacemacs (18)
- # specter (20)
- # sql (17)
- # uncomplicate (1)
- # vim (28)
- # xtdb (32)
Any suggestions/best practices for how to organize a GraphQL server project that uses lacinia
? Specifically, I’m thinking about how to layout the directory structure of the project WRT to objects
, queries
, mutations
, etc. We have made a couple of different attempts, none of which I am particularly happy with.
I put the functionally related ones with each other as 'services' https://github.com/openweb-nl/kafka-graphql-examples/tree/master/graphql-endpoint/src/nl/openweb/graphql_endpoint. Not sure that works better,
Q: how can I specify an optional list of string argument type?
{:type (list String)}
is parsed as a required/non-null arg. I can workaround this with an input type but that adds some nesting in the client i.e. complexityThat should not be the case; (list String)
is an optional type, even in a field argument. Can you provide a short example of this occurring?
@U04VDKC4G how right you are. I discovered it here https://gist.github.com/stevebuik/e289d6783b43639726cbc39357728bbf that my problem was not in the schema but in the client GQL mutation. nothing like having to document a question, only to find the answer. sorry for the distraction