🏠FunctionsgetOperationRootTypegetOperationRootType CallablegetOperationRootType(schema: GraphQLSchema, operation: OperationDefinitionNode | OperationTypeDefinitionNode): GraphQLObjectTypeExtracts the root type of the operation from the schema.@deprecatedPlease use GraphQLSchema.getRootType instead. Will be removed in v17Parametersschema: GraphQLSchemaoperation: OperationDefinitionNode | OperationTypeDefinitionNodeReturns GraphQLObjectType
Extracts the root type of the operation from the schema.
Please use
GraphQLSchema.getRootType
instead. Will be removed in v17