-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fix: update remaining GraphQLNonNull<GraphQLType>
codepoints to GraphQLNonNull<GraphQLNullableType>
#3622
Conversation
✅ Deploy Preview for compassionate-pike-271cb3 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
But as previously discussed you need to provide a description of your change, currently, it only contains links.
Also, bug fixes should include tests, otherwise, we have no way to detect regressions.
@yaacovCR Summarising our discussion in DMs:
So I fully agree that in this context, requirement for adding tests was arbitrarily on my part. |
We all can and do make mistakes, especially when busy. An extra note explicitly stating that this was a long standing bug could not have hurt, sure. |
GraphQLNonNull<GraphQLType>
codepoints to GraphQLNonNull<GraphQLNullableType>
GraphQLNonNull<GraphQLType>
codepoints to GraphQLNonNull<GraphQLNullableType>
GraphQLNonNull<GraphQLType>
codepoints to GraphQLNonNull<GraphQLNullableType>
I updated the description above. For good measure, I did a quick search for additional code points to correct and udpated the title of this PR. |
86cf20e
to
4d63bbf
Compare
`GraphQLNonNull<GraphQLNullableType>` This is related to graphql#3597, in the sense that graphql#3597 made the `GraphQLNonNull<GraphQL*Type>` => `GraphQLNonNull<GraphQLNullable*Type>` change in other code points related to the `isNonNullType` function, but not within `GraphQLWrappingType` or assertNonNullType. This PR was prompted by the uncovering of a bug by a different PR, see: graphql#3617 (comment)
4d63bbf
to
ab5a471
Compare
@IvanGoncharov Any chance you can review this PR again? |
Agree, answered here #3622 (comment) |
Now GraphQLType is union of named types and wrapping types. Spotted during review of graphql#3622
This is related to #3597, in the sense that #3597 made the
GraphQLNonNull<GraphQL*Type>
=>GraphQLNonNull<GraphQLNullable*Type>
change in other code points related to theisNonNullType
function, but not withinGraphQLWrappingType
or assertNonNullType.This PR was prompted by the uncovering of a bug by a different PR, see: #3617 (comment)