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

Type Alias: GenericFieldMapper<F>

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

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

Type Parameters

F

F extends GraphQLFieldConfig<any, any> | GraphQLInputFieldConfig

Parameters

fieldConfig

F

fieldName

string

typeName

string

schema

GraphQLSchema

Returns

F | [string, F] | null | undefined