• Docs
  • API Reference
  • Interfaces
  • IDelegateRequestOptions

Interface: IDelegateRequestOptions<TContext, TArgs>

delegate/src.IDelegateRequestOptions

Type parameters

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

Hierarchy

Table of contents

Properties

Properties

args

Optional args: TArgs

Inherited from

IDelegateToSchemaOptions.args

Defined in

packages/delegate/src/types.ts:68


context

Optional context: TContext

Inherited from

IDelegateToSchemaOptions.context

Defined in

packages/delegate/src/types.ts:71


fieldName

Optional fieldName: string

Inherited from

IDelegateToSchemaOptions.fieldName

Defined in

packages/delegate/src/types.ts:65


fieldNodes

Optional fieldNodes: readonly FieldNode[]

Inherited from

IDelegateToSchemaOptions.fieldNodes

Defined in

packages/delegate/src/types.ts:70


info

info: GraphQLResolveInfo

Inherited from

IDelegateToSchemaOptions.info

Defined in

packages/delegate/src/types.ts:72


onLocatedError

Optional onLocatedError: (originalError: GraphQLError) => GraphQLError

Type declaration

▸ (originalError): GraphQLError

Parameters
NameType
originalErrorGraphQLError
Returns

GraphQLError

Inherited from

IDelegateToSchemaOptions.onLocatedError

Defined in

packages/delegate/src/types.ts:67


operation

Optional operation: OperationTypeNode

Inherited from

IDelegateToSchemaOptions.operation

Defined in

packages/delegate/src/types.ts:64


operationName

Optional operationName: string

Inherited from

IDelegateToSchemaOptions.operationName

Defined in

packages/delegate/src/types.ts:63


request

request: ExecutionRequest<Record<string, any>, any, any, Record<string, any>>

Defined in

packages/delegate/src/types.ts:82


returnType

Optional returnType: GraphQLOutputType

Inherited from

IDelegateToSchemaOptions.returnType

Defined in

packages/delegate/src/types.ts:66


rootValue

Optional rootValue: any

Inherited from

IDelegateToSchemaOptions.rootValue

Defined in

packages/delegate/src/types.ts:73


schema

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

Inherited from

IDelegateToSchemaOptions.schema

Defined in

packages/delegate/src/types.ts:62


selectionSet

Optional selectionSet: SelectionSetNode

Inherited from

IDelegateToSchemaOptions.selectionSet

Defined in

packages/delegate/src/types.ts:69


skipTypeMerging

Optional skipTypeMerging: boolean

Inherited from

IDelegateToSchemaOptions.skipTypeMerging

Defined in

packages/delegate/src/types.ts:77


transformedSchema

Optional transformedSchema: GraphQLSchema

Inherited from

IDelegateToSchemaOptions.transformedSchema

Defined in

packages/delegate/src/types.ts:75


transforms

Optional transforms: Transform<any, TContext>[]

Inherited from

IDelegateToSchemaOptions.transforms

Defined in

packages/delegate/src/types.ts:74


validateRequest

Optional validateRequest: boolean

Inherited from

IDelegateToSchemaOptions.validateRequest

Defined in

packages/delegate/src/types.ts:76