On this page

makeDirectiveNodes

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

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[]