On this page

GenericFieldMapper

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

GenericFieldMapper<F> = (fieldConfig, fieldName, typeName, schema) => F | [string, F] | null | undefined

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

Type Parameters

F

F extends GraphQLFieldConfig<any, any> | GraphQLInputFieldConfig

Parameters

fieldConfig

F

fieldName

string

typeName

string

schema

GraphQLSchema

Returns

F | [string, F] | null | undefined