On this page

getDirectives

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

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

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

Parameters

schema

GraphQLSchema

node

DirectableObject

pathToDirectivesInExtensions?

string[] = ...

Returns

DirectiveAnnotation[]