Skip to content

Commit 29c3453

Browse files
authored
Merge pull request #663 from helfer/patch-1
Fix typo in buildASTSchema
2 parents 9fadc2a + 357f7c0 commit 29c3453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities/buildASTSchema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export function buildASTSchema(ast: DocumentNode): GraphQLSchema {
318318

319319
function produceInterfaceType(typeNode: TypeNode): GraphQLInterfaceType {
320320
const type = produceType(typeNode);
321-
invariant(type instanceof GraphQLInterfaceType, 'Expected Object type.');
321+
invariant(type instanceof GraphQLInterfaceType, 'Expected Interface type.');
322322
return type;
323323
}
324324

0 commit comments

Comments
 (0)