Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/utilities/buildClientSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export function buildClientSchema(
const type = getType(typeRef);
invariant(
isInputType(type),
'Introspection must provide input type for arguments.',
'Introspection must provide input type for arguments, but received: ' + inspect(type),
);
return type;
}
Expand All @@ -154,7 +154,7 @@ export function buildClientSchema(
const type = getType(typeRef);
invariant(
isOutputType(type),
'Introspection must provide output type for fields.',
'Introspection must provide output type for fields, but received: ' + inspect(type),
);
return type;
}
Expand Down