We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a minimal case to reproduce (v 0.16.0)
Schema
(def schema {:input-objects {:IDObject {:fields {:id {:type '(non-null String)}}}} :objects {:Something {:fields {:id {:type '(non-null String)} :name {:type 'String} :otherThing {:type :OtherThing}}} :OtherThing {:fields {:id {:type '(non-null String)} :name {:type 'String}}}} :mutations {:CreateSomething {:args {:name {:type 'String} :otherThing {:type :IDObject}} :type :Something}}})
Execute the query by filling in parameters directly
(com.walmartlabs.lacinia/execute (com.walmartlabs.lacinia.schema/compile schema) "mutation CreateSomething { CreateSomething(name: \"Test\", otherThing: {id: \"ID\"}) {id }}" nil nil) => {:data #ordered/map([:CreateSomething nil])}
Execute the query by providing variables
(com.walmartlabs.lacinia/execute (com.walmartlabs.lacinia.schema/compile schema) "mutation CreateSomething($name: String!, $otherThing: IDObject!) { CreateSomething(name: $name, otherThing: $otherThing) {id }}" {:name "Test" :otherThing {:id "ID"}} nil) => {:errors [{:message "Sanity check - no option in process-result."}]}
The error happens in com.walmartlabs.lacinia.parser/process-result because there is no matching clause in the cond for (= category :input-object).
com.walmartlabs.lacinia.parser/process-result
(= category :input-object)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This is a minimal case to reproduce (v 0.16.0)
Schema
Execute the query by filling in parameters directly
Execute the query by providing variables
The error happens in
com.walmartlabs.lacinia.parser/process-result
because there is no matching clause in the cond for(= category :input-object)
.The text was updated successfully, but these errors were encountered: