On this page

getFieldsWithDirectives

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

getFieldsWithDirectives(documentNode, options?): TypeAndFieldToDirectives

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

Parameters

documentNode

DocumentNode

options?

Options = {}

Returns

TypeAndFieldToDirectives