opentable / graphql-query-generator

Generates queries from the GraphQL endpoint via schema introspection.
48 stars 9 forks source link

Mutation #21

Open swinyx opened 7 years ago

swinyx commented 7 years ago

Can this package generate GraphQL mutations as well?

pbazydlo commented 7 years ago

Hi @swinyx This package does not support mutations currently as we did not have a need for them at this time.

I'm not sure about using that approach for mutations, due to potentially unsafe side effects.

Having said that we're open to proposals and accept PR's :)

chad-superhifi commented 4 years ago

Hi @swinyx Here's a fork that does allow testing mutations https://www.npmjs.com/package/graphql-service-tester