Skip to content

Empty 'errors' list in introspection fix#741

Merged
abernix merged 2 commits intoapollographql:masterfrom
mhdubose:empty-error-fix
Nov 27, 2018
Merged

Empty 'errors' list in introspection fix#741
abernix merged 2 commits intoapollographql:masterfrom
mhdubose:empty-error-fix

Conversation

@mhdubose
Copy link
Copy Markdown
Contributor

Some server implementations return an empty list rather than null in response objects. Added an array size check to introspection to catch cases when an empty errors list is returned.

@apollo-cla
Copy link
Copy Markdown

@mhdubose: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

@abernix abernix merged commit 6786a94 into apollographql:master Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants