You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add feature supporting lexical parser options
This adds the ability to specify `parseOptions` through makeExecutableSchema
into graphql.parse - unlocking finer control of lexical options when
building a schema.
-`logger` is an optional argument, which can be used to print errors to the server console that are usually swallowed by GraphQL. The `logger` argument should be an object with a `log` function, eg. `const logger = { log: (e) => console.log(e) }`
338
338
339
+
-`parseOptions` is an optional argument which allows customization of parse when specifying `typeDefs` as a string.
340
+
339
341
-`allowUndefinedInResolve` is an optional argument, which is `true` by default. When set to `false`, causes your resolve functions to throw errors if they return undefined, which can help make debugging easier.
340
342
341
343
-`resolverValidationOptions` is an optional argument which accepts an object of the following shape: `{ requireResolversForArgs, requireResolversForNonScalar }`.
0 commit comments