Skip to content

Refine getNamedType() for Input and Output types#3410

Merged
IvanGoncharov merged 1 commit into15.x.xfrom
backport3063
Dec 6, 2021
Merged

Refine getNamedType() for Input and Output types#3410
IvanGoncharov merged 1 commit into15.x.xfrom
backport3063

Conversation

@IvanGoncharov
Copy link
Copy Markdown
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