easygraphql-tester
easygraphql-tester copied to clipboard
Ability to pass options to constructor to customize behavior of makeExecutableSchema
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 constructor so users can define optional variables below:
const { makeExecutableSchema } = require('apollo-server');
const jsSchema = makeExecutableSchema({
typeDefs,
resolvers,
logger, // optional
allowUndefinedInResolve = false, // optional
resolverValidationOptions = {}, // optional
directiveResolvers = null, // optional
schemaDirectives = null, // optional
parseOptions = {}, // optional
inheritResolversFromInterfaces = false // optional
});
in order to customize the logging and validation behavior of their tests so unnecessary validation errors are not thrown if unwanted?