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
Have tried running the demo, and this query, as described in the docs, from the local graphql server:
mutation addX { addUser(input: {name: "X", age: 11, clientMutationId: "1"}) { id name } }
returns an error:
{ "errors": [ { "message": "Cannot query field \"id\" on \"addUserPayload\"." }, { "message": "Cannot query field \"name\" on \"addUserPayload\"." } ] }
while this query works fine:
mutation addX { addUser(input: {name: "X", age: 11, clientMutationId: "1"}) { changedUserEdge { node { id name } } } }
So I wonder if the docs may be out of sync?
The text was updated successfully, but these errors were encountered:
Thanks for the catch, it seems to be out of date! I'll update it shortly.
On Sun, Jan 17, 2016, 18:53 Nikolas LeBlanc notifications@github.com wrote:
Have tried running the demo, and this query, as described in the docs, from the local graphql server: mutation addX { addUser(input: {name: "X", age: 11, clientMutationId: "1"}) { id name } } returns an error: { "errors": [ { "message": "Cannot query field "id" on "addUserPayload"." }, { "message": "Cannot query field "name" on "addUserPayload"." } ] } while this query works fine: mutation addX { addUser(input: {name: "X", age: 11, clientMutationId: "1"}) { changedUserEdge { node { name } } } } So I wonder if the docs may be out of sync? — Reply to this email directly or view it on GitHub #83.
{ "errors": [ { "message": "Cannot query field "id" on "addUserPayload"." }, { "message": "Cannot query field "name" on "addUserPayload"." } ] }
mutation addX { addUser(input: {name: "X", age: 11, clientMutationId: "1"}) { changedUserEdge { node { name } } } }
— Reply to this email directly or view it on GitHub #83.
Sorry, something went wrong.
Fixed. ;) Thank you for opening the issue!
No problem, thanks for addressing the issue so quickly!
No branches or pull requests
Have tried running the demo, and this query, as described in the docs, from the local graphql server:
returns an error:
while this query works fine:
So I wonder if the docs may be out of sync?
The text was updated successfully, but these errors were encountered: