getDefinedRootType
The getDefinedRootType function exported by @graphql-tools/utils.
getDefinedRootType(
schema,operation,nodes?):GraphQLObjectType
Defined in: packages/utils/src/rootTypes.ts:5
Parameters
schema
GraphQLSchema
operation
OperationTypeNode
nodes?
ASTNode[]
Returns
GraphQLObjectType