Would be great to see some mutation queries.
Possible duplicate of #14 , mutation examples are provided in the tests folder of the executor :)
https://github.com/graphql/graphql-js/blob/master/src/executor/__tests__/mutations.js
Yes, @dschafer wrote some pretty good tests for mutations.
@leebyron ahh sry. I just missed that!
Just mentioning, because this page keeps showing up on Google, that the above link is old, and mutation examples are in:
https://github.com/graphql/graphql-js/blob/master/src/execution/__tests__/mutations-test.js
Most helpful comment
Just mentioning, because this page keeps showing up on Google, that the above link is old, and mutation examples are in:
https://github.com/graphql/graphql-js/blob/master/src/execution/__tests__/mutations-test.js