batch_delegate_src.createbatchdelegatefnoptions

Interface: CreateBatchDelegateFnOptions<TContext, K, V, C\>#

batch-delegate/src.CreateBatchDelegateFnOptions

Type parameters#

NameDefault
TContextRecord<string, any\>
Kany
Vany
CK

Hierarchy#

Table of contents#

Properties#

Properties#

argsFromKeys#

Optional argsFromKeys: (keys: readonly K[]) => Record<string, any\>

Defined in: packages/batch-delegate/src/types.ts:32


binding#

Optional binding: DelegationBinding

Defined in: packages/delegate/src/types.ts:79


context#

Optional context: TContext

Defined in: packages/delegate/src/types.ts:72


dataLoaderOptions#

Optional dataLoaderOptions: Options<K, V, C\>

Defined in: packages/batch-delegate/src/types.ts:31


fieldName#

Optional fieldName: string

Defined in: packages/delegate/src/types.ts:66


fieldNodes#

Optional fieldNodes: readonly FieldNode[]

Defined in: packages/delegate/src/types.ts:71


lazyOptionsFn#

Optional lazyOptionsFn: (batchDelegateOptions: BatchDelegateOptions<TContext, K, any, K\>) => IDelegateToSchemaOptions<TContext, Record<string, any\>\>

Defined in: packages/batch-delegate/src/types.ts:34


onLocatedError#

Optional onLocatedError: (originalError: GraphQLError) => GraphQLError

Defined in: packages/delegate/src/types.ts:68


operation#

Optional operation: OperationTypeNode

Defined in: packages/delegate/src/types.ts:65


operationName#

Optional operationName: string

Defined in: packages/delegate/src/types.ts:64


returnType#

Optional returnType: GraphQLOutputType

Defined in: packages/delegate/src/types.ts:67


rootValue#

Optional rootValue: Record<string, any\>

Defined in: packages/delegate/src/types.ts:74


schema#

schema: GraphQLSchema | SubschemaConfig<any, any, any\>

Defined in: packages/delegate/src/types.ts:63


selectionSet#

Optional selectionSet: SelectionSetNode

Defined in: packages/delegate/src/types.ts:70


skipTypeMerging#

Optional skipTypeMerging: boolean

Defined in: packages/delegate/src/types.ts:78


skipValidation#

Optional skipValidation: boolean

Defined in: packages/delegate/src/types.ts:77


transformedSchema#

Optional transformedSchema: GraphQLSchema

Defined in: packages/delegate/src/types.ts:76


transforms#

Optional transforms: Transform<Record<string, any\>\>[]

Defined in: packages/delegate/src/types.ts:75


valuesFromResults#

Optional valuesFromResults: (results: any, keys: readonly K[]) => V[]

Defined in: packages/batch-delegate/src/types.ts:33