Skip to content

nameless LIST and NON_NULL #355

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

Merged
merged 1 commit into from
Oct 26, 2016
Merged

nameless LIST and NON_NULL #355

merged 1 commit into from
Oct 26, 2016

Conversation

jamesmacaulay
Copy link

@jamesmacaulay jamesmacaulay commented Oct 26, 2016

Fixes #352.

This modifies both ListType#name and NonNullType#name to return nil, so that introspection responses correctly return null names for these types as per the GraphQL spec. This is a breaking change, both because it modifies the introspection responses, and because downstream code may be relying on the name method on types always returning a string.

This modifies both ListType#name and NonNullType#name to return nil, so
that introspection responses correctly return null names for these types
as per the GraphQL spec.
@rmosolgo
Copy link
Owner

👍 thanks for this fix!!

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.

2 participants