Open raygpt opened 2 years ago
Currently, the library does not allow custom options to be passed to makeExecutableSchema in tester.js.
makeExecutableSchema
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:
tester
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?
Currently, the library does not allow custom options to be passed to
makeExecutableSchema
intester.js
.Is it possible to allow a third options parameter to be passed to the
tester
constructor so users can define optional variables below:in order to customize the logging and validation behavior of their tests so unnecessary validation errors are not thrown if unwanted?