On this page

getDirectivesInExtensions

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

getDirectivesInExtensions(node, pathToDirectivesInExtensions?): DirectiveAnnotation[]

Defined in: packages/utils/src/get-directives.ts:11

Parameters

node

DirectableObject

pathToDirectivesInExtensions?

string[] = ...

Returns

DirectiveAnnotation[]