On this page

astFromObjectType

The astFromObjectType function exported by @graphql-tools/utils.

astFromObjectType(type, schema, pathToDirectivesInExtensions?): ObjectTypeDefinitionNode

Defined in: packages/utils/src/print-schema-with-directives.ts:304

Parameters

type

GraphQLObjectType

schema

GraphQLSchema

pathToDirectivesInExtensions?

string[]

Returns

ObjectTypeDefinitionNode