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

Added support for [Int] to have nil(null) values #104

Merged
merged 1 commit into from
Jul 15, 2019

Conversation

arunpoudel
Copy link
Contributor

Same for String and Boolean

https://graphql.github.io/graphql-spec/June2018/#sec-Combining-List-and-Non-Null

Looks like the library was crashing when you have [Int] type defined and [1, null] was sent as a query.

This PR doesn't support all the use cases defined in the spec, but only covers ones with null(nil) values in the array(slice)

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 91.496% when pulling 1ab3e4f on futurehomeno:master into 05741cd on vektah:master.

@vektah vektah merged commit e37eb09 into vektah:master Jul 15, 2019
@vektah
Copy link
Owner

vektah commented Jul 15, 2019

Thanks for the PR

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