We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38bd337 commit a5e0b64Copy full SHA for a5e0b64
src/validation/ValidationContext.js
@@ -149,7 +149,7 @@ export class SDLValidationContext extends ASTValidationContext {
149
constructor(
150
ast: DocumentNode,
151
schema: ?GraphQLSchema,
152
- onError: (err: GraphQLError) => void,
+ onError?: (err: GraphQLError) => void,
153
): void {
154
super(ast, onError);
155
this._schema = schema;
0 commit comments