EasyGraphQL / easygraphql-tester

Test GraphQL queries, mutations and schemas on an easy way! 🚀
https://easygraphql.com/docs/easygraphql-tester/overview
MIT License
314 stars 34 forks source link

Tester.test queries with variables #121

Closed teebszet closed 5 years ago

teebszet commented 5 years ago

Does the library allow testing queries with variables as a runtime object?

teebszet commented 5 years ago

Ah, found documentation on the npm package that shows variables must be included in the query, and not in a separate variables object.

ShMcK commented 5 years ago

Intuitively, it seems like there should be an option where variables are passed in separately, as an object like mutations.