graphql-js
9ba6b173 - Refine getNamedType() for Input and Output types (#3063)

Commit
4 years ago
Refine getNamedType() for Input and Output types (#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.
Author
Parents
Loading