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

Function: getDirectives()

getDirectives(schema, node, pathToDirectivesInExtensions?): DirectiveAnnotation[]

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

Parameters

schema

GraphQLSchema

node

DirectableObject

pathToDirectivesInExtensions?

string[] = ...

Returns

DirectiveAnnotation[]