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: IDelegateToSchemaOptions<TContext, TArgs\>#

delegate/src.IDelegateToSchemaOptions

Type parameters#

NameType
TContextRecord<string, any\>
TArgsRecord<string, any\>

Hierarchy#

Table of contents#

Properties#

Methods#

Properties#

args#

Optional args: TArgs

Defined in#

packages/delegate/src/types.ts:69


context#

Optional context: TContext

Defined in#

packages/delegate/src/types.ts:72


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


info#

info: GraphQLResolveInfo

Defined in#

packages/delegate/src/types.ts:73


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: any

Defined in#

packages/delegate/src/types.ts:74


schema#

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

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


transformedSchema#

Optional transformedSchema: GraphQLSchema

Defined in#

packages/delegate/src/types.ts:76


transforms#

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

Defined in#

packages/delegate/src/types.ts:75


validateRequest#

Optional validateRequest: boolean

Defined in#

packages/delegate/src/types.ts:77

Methods#

onLocatedError#

Optional onLocatedError(originalError): GraphQLError

Parameters#

NameType
originalErrorGraphQLError

Returns#

GraphQLError

Defined in#

packages/delegate/src/types.ts:68