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.
2 parents 9fadc2a + 357f7c0 commit 29c3453Copy full SHA for 29c3453
src/utilities/buildASTSchema.js
@@ -318,7 +318,7 @@ export function buildASTSchema(ast: DocumentNode): GraphQLSchema {
318
319
function produceInterfaceType(typeNode: TypeNode): GraphQLInterfaceType {
320
const type = produceType(typeNode);
321
- invariant(type instanceof GraphQLInterfaceType, 'Expected Object type.');
+ invariant(type instanceof GraphQLInterfaceType, 'Expected Interface type.');
322
return type;
323
}
324
0 commit comments