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

Refine getNamedType() for Input and Output types #3410

Merged
merged 1 commit into from
Dec 6, 2021
Merged

Conversation

IvanGoncharov
Copy link
Member

Backport of #3063

This introduces type definitions GraphQLNamedInputType and GraphQLNamedOutputType as the subsets of GraphQLNamedType, and adds function overrides for getNamedType() such that if an input or output type is provided, one of these refined subset types is returned.

Backport of #3063

This introduces type definitions `GraphQLNamedInputType` and `GraphQLNamedOutputType` as the subsets of `GraphQLNamedType`, and adds function overrides for `getNamedType()` such that if an input or output type is provided, one of these refined subset types is returned.
@IvanGoncharov IvanGoncharov added the PR: feature 🚀 requires increase of "minor" version number label Dec 6, 2021
@IvanGoncharov IvanGoncharov merged commit c55ac60 into 15.x.x Dec 6, 2021
@IvanGoncharov IvanGoncharov deleted the backport3063 branch December 6, 2021 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: feature 🚀 requires increase of "minor" version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants