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 9fadc2a commit 357f7c0Copy full SHA for 357f7c0
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