On this page

FieldNodeMapper

The FieldNodeMapper type alias exported by @graphql-tools/utils.

FieldNodeMapper = (fieldNode, fragments, transformationContext) => SelectionNode | SelectionNode[]

Defined in: packages/utils/src/Interfaces.ts:250

Parameters

fieldNode

FieldNode

fragments

Record<string, FragmentDefinitionNode>

transformationContext

Record<string, any>

Returns

SelectionNode | SelectionNode[]