easygraphql-tester
easygraphql-tester copied to clipboard
Test GraphQL queries, mutations and schemas on an easy way! 🚀
Currently, the library does not allow custom options to be passed to `makeExecutableSchema` in `tester.js`. Is it possible to allow a third options parameter to be passed to the `tester`...
Hello, Do you have any plans to have support for GraphQL 16 or a suggested package to replace `easygraphql-tester`?
graphql-tools is listed as a dependency but https://github.com/EasyGraphQL/easygraphql-tester/blob/9b8f981edde89a4906cfcafc418e8c21160629ad/utils/buildGraphQLSchema.js#L3 graphql-tools/merge is what is imported and that isn't listed, which caused issues when trying to use easygraphql-tester. This PR adds graphql-tools/merge as...
Where are the types for/in this lib?
Our graphql schema has module.exports and that is how all our code is handled. is there a solution for it?
From the code it looks like it expects all types to have fields. The GraphQLUnionType does not support fields, but the getTypes() on this type would expose each type with...
I have a valid Query that passes with `tester.test` however when I `tester.mock` with a fixture, then I'm seeing: ``` TypeError: Cannot read property 'type' of undefined at validateFixture (node_modules/easygraphql-tester/utils/fixture.js:50:27)...
Some packages were not up to date and there were many vulnerabilities which were fixed by updating the packages
Can you show me an example of how can i test my middlewares? I want to test that my queries can only be accessed if the correct jwt token is...
I am writing it very first time, having a resolver like const getCountries = (context) => { const { cookies = {}, traceId } = context; const httpClient = new...