Graphql-js: Provide example through tests for mutation queries.

Created on 4 Jul 2015  路  4Comments  路  Source: graphql/graphql-js

Would be great to see some mutation queries.

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

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings