Skip to Content
GraphQL Tools
DocumentationAPI@graphql-tools/utilssrctype-aliasesFieldNodeMapper

Type Alias: FieldNodeMapper

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

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

Parameters

fieldNode

FieldNode

fragments

Record<string, FragmentDefinitionNode>

transformationContext

Record<string, any>

Returns

SelectionNode | SelectionNode[]