The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

GraphQL Tools

GraphQL Tools

A set of utilities for faster GraphQL development

Get Started

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

batch-delegate/src.CreateBatchDelegateFnOptions

Type parameters#

NameType
TContextRecord<string, any\>
Kany
Vany
CK

Hierarchy#

  • Partial<Omit<IDelegateToSchemaOptions<TContext\>, "args" | "info"\>\>

    CreateBatchDelegateFnOptions

Table of contents#

Properties#

Methods#

Properties#

context#

Optional context: TContext

Inherited from#

Partial.context

Defined in#

packages/delegate/src/types.ts:72


dataLoaderOptions#

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

Defined in#

packages/batch-delegate/src/types.ts:24


fieldName#

Optional fieldName: string

Inherited from#

Partial.fieldName

Defined in#

packages/delegate/src/types.ts:66


fieldNodes#

Optional fieldNodes: readonly FieldNode[]

Inherited from#

Partial.fieldNodes

Defined in#

packages/delegate/src/types.ts:71


operation#

Optional operation: OperationTypeNode

Inherited from#

Partial.operation

Defined in#

packages/delegate/src/types.ts:65


operationName#

Optional operationName: string

Inherited from#

Partial.operationName

Defined in#

packages/delegate/src/types.ts:64


returnType#

Optional returnType: GraphQLOutputType

Inherited from#

Partial.returnType

Defined in#

packages/delegate/src/types.ts:67


rootValue#

Optional rootValue: any

Inherited from#

Partial.rootValue

Defined in#

packages/delegate/src/types.ts:74


schema#

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

Inherited from#

Partial.schema

Defined in#

packages/delegate/src/types.ts:63


selectionSet#

Optional selectionSet: SelectionSetNode

Inherited from#

Partial.selectionSet

Defined in#

packages/delegate/src/types.ts:70


skipTypeMerging#

Optional skipTypeMerging: boolean

Inherited from#

Partial.skipTypeMerging

Defined in#

packages/delegate/src/types.ts:78


transformedSchema#

Optional transformedSchema: GraphQLSchema

Inherited from#

Partial.transformedSchema

Defined in#

packages/delegate/src/types.ts:76


transforms#

Optional transforms: Transform<any, TContext\>[]

Inherited from#

Partial.transforms

Defined in#

packages/delegate/src/types.ts:75


validateRequest#

Optional validateRequest: boolean

Inherited from#

Partial.validateRequest

Defined in#

packages/delegate/src/types.ts:77

Methods#

argsFromKeys#

Optional argsFromKeys(keys): Record<string, any\>

Parameters#

NameType
keysreadonly K[]

Returns#

Record<string, any\>

Defined in#

packages/batch-delegate/src/types.ts:25


lazyOptionsFn#

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

Parameters#

NameType
batchDelegateOptionsBatchDelegateOptions<TContext, K, any, K\>

Returns#

IDelegateToSchemaOptions<TContext, Record<string, any\>\>

Defined in#

packages/batch-delegate/src/types.ts:27


onLocatedError#

Optional onLocatedError(originalError): GraphQLError

Parameters#

NameType
originalErrorGraphQLError

Returns#

GraphQLError

Inherited from#

Partial.onLocatedError

Defined in#

packages/delegate/src/types.ts:68


valuesFromResults#

Optional valuesFromResults(results, keys): V[]

Parameters#

NameType
resultsany
keysreadonly K[]

Returns#

V[]

Defined in#

packages/batch-delegate/src/types.ts:26