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

Function: getFieldsWithDirectives()

getFieldsWithDirectives(documentNode, options?): TypeAndFieldToDirectives

Defined in: packages/utils/src/get-fields-with-directives.ts:25

Parameters

documentNode

DocumentNode

options?

Options = {}

Returns

TypeAndFieldToDirectives