Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty 'errors' list in introspection fix #741

Merged
merged 2 commits into from
Nov 27, 2018

Conversation

mhdubose
Copy link
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

@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