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 37c022d + b747bb4 commit a6676dcCopy full SHA for a6676dc
src/utilities/buildClientSchema.js
@@ -143,7 +143,7 @@ export function buildClientSchema(
143
const type = getType(typeRef);
144
invariant(
145
isInputType(type),
146
- 'Introspection must provide input type for arguments.',
+ 'Introspection must provide input type for arguments, but received: ' + inspect(type),
147
);
148
return type;
149
}
@@ -154,7 +154,7 @@ export function buildClientSchema(
154
155
156
isOutputType(type),
157
- 'Introspection must provide output type for fields.',
+ 'Introspection must provide output type for fields, but received: ' + inspect(type),
158
159
160
0 commit comments