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

Function: getDirectivesInExtensions()

getDirectivesInExtensions(node, pathToDirectivesInExtensions?): DirectiveAnnotation[]

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

Parameters

node

DirectableObject

pathToDirectivesInExtensions?

string[] = ...

Returns

DirectiveAnnotation[]