Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/utilssrcfunctionsmakeDirectiveNodes

Function: makeDirectiveNodes()

makeDirectiveNodes<TDirectiveNode>(schema, directiveValues): TDirectiveNode[]

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

Type Parameters

TDirectiveNode

TDirectiveNode extends DirectiveNode

Parameters

schema

Maybe<GraphQLSchema>

directiveValues

DirectiveAnnotation[]

Returns

TDirectiveNode[]