This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-02
Channels
- # beginners (118)
- # boot (73)
- # cider (2)
- # cljs-dev (65)
- # cljsrn (18)
- # clojure (49)
- # clojure-argentina (4)
- # clojure-italy (19)
- # clojure-portugal (1)
- # clojure-russia (1)
- # clojure-spec (34)
- # clojure-uk (102)
- # clojurescript (202)
- # code-reviews (3)
- # core-async (5)
- # cursive (11)
- # datomic (25)
- # emacs (1)
- # graphql (22)
- # hoplon (6)
- # keechma (59)
- # leiningen (10)
- # luminus (31)
- # lumo (78)
- # off-topic (141)
- # om (32)
- # om-next (2)
- # onyx (6)
- # parinfer (55)
- # pedestal (3)
- # protorepl (3)
- # re-frame (8)
- # reagent (8)
- # ring-swagger (1)
- # rum (20)
- # specter (1)
- # sql (5)
- # test-check (11)
- # vim (13)
- # yada (7)
Hi! I am getting the following error when trying to use an input object as the type of a field in an input object: > Sanity check - no option in construct-literal-argument.
as per https://github.com/walmartlabs/lacinia/blob/v0.19.0/dev-resources/com/walmartlabs/test_schema.clj#L173 it should work…
It’s very simple:
:input-objects
{:CreateAddressInput
{:fields
{:street_name {:type (non-null String)}}}
:CreateIdentityInput
{:fields
{:first_name {:type (non-null String)}
:last_name {:type (non-null String)}
:address {:type :CreateAddressInput}}}
Ah sorry, I am being silly. My field is named street_name
in the schema but I was specifying street_address
in the variable
I was thinking that what kind of slack they are talking about in lacinia issues but then realized that it’s probably here 🙂
I'll keep an eye out for it. I'm hoping to get 0.3.0 out soon, but am waiting for other internal devs to review some of the PRs.
https://github.com/walmartlabs/lacinia-pedestal/pull/24 actually it’s this one
I’m already using the master in my own project and thats why I’ll most likely to make new contributions also