Skip to content

Conversation

leebyron
Copy link
Contributor

@leebyron leebyron commented May 6, 2021

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.

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.
@leebyron leebyron requested a review from IvanGoncharov May 6, 2021 07:53
@IvanGoncharov IvanGoncharov merged commit 9ba6b17 into main May 6, 2021
@IvanGoncharov IvanGoncharov deleted the named-types branch May 6, 2021 07:57
@IvanGoncharov IvanGoncharov added the PR: feature 🚀 requires increase of "minor" version number label May 14, 2021
IvanGoncharov pushed a commit that referenced this pull request Dec 6, 2021
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 added a commit that referenced this pull request Dec 6, 2021
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.

Co-authored-by: Lee Byron <[email protected]>
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