Skip to content

Commit

Permalink
Merge branch 'feat_listTypeForError' of https://github.com/OneCyrus/g…
Browse files Browse the repository at this point in the history
…raphql-js into OneCyrus-feat_listTypeForError
  • Loading branch information
mjmahone committed Jan 15, 2019
2 parents 37c022d + b747bb4 commit a6676dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utilities/buildClientSchema.js
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

0 comments on commit a6676dc

Please sign in to comment.