Documentation
API Reference
Interfaces
IDelegateRequestOptions

graphql-tools-monorepo / delegate/src / 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:72


context

Optional context: TContext

Inherited from

IDelegateToSchemaOptions.context

Defined in

packages/delegate/src/types.ts:75


fieldName

Optional fieldName: string

Inherited from

IDelegateToSchemaOptions.fieldName

Defined in

packages/delegate/src/types.ts:69


fieldNodes

Optional fieldNodes: readonly FieldNode[]

Inherited from

IDelegateToSchemaOptions.fieldNodes

Defined in

packages/delegate/src/types.ts:74


info

info: GraphQLResolveInfo

Inherited from

IDelegateToSchemaOptions.info

Defined in

packages/delegate/src/types.ts:76


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


operation

Optional operation: OperationTypeNode

Inherited from

IDelegateToSchemaOptions.operation

Defined in

packages/delegate/src/types.ts:68


operationName

Optional operationName: string

Inherited from

IDelegateToSchemaOptions.operationName

Defined in

packages/delegate/src/types.ts:67


request

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

Defined in

packages/delegate/src/types.ts:88


returnType

Optional returnType: GraphQLOutputType

Inherited from

IDelegateToSchemaOptions.returnType

Defined in

packages/delegate/src/types.ts:70


rootValue

Optional rootValue: any

Inherited from

IDelegateToSchemaOptions.rootValue

Defined in

packages/delegate/src/types.ts:77


schema

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

Inherited from

IDelegateToSchemaOptions.schema

Defined in

packages/delegate/src/types.ts:66


selectionSet

Optional selectionSet: SelectionSetNode

Inherited from

IDelegateToSchemaOptions.selectionSet

Defined in

packages/delegate/src/types.ts:73


skipTypeMerging

Optional skipTypeMerging: boolean

Inherited from

IDelegateToSchemaOptions.skipTypeMerging

Defined in

packages/delegate/src/types.ts:81


transformedSchema

Optional transformedSchema: GraphQLSchema

Inherited from

IDelegateToSchemaOptions.transformedSchema

Defined in

packages/delegate/src/types.ts:79


transforms

Optional transforms: Transform<any, TContext>[]

Inherited from

IDelegateToSchemaOptions.transforms

Defined in

packages/delegate/src/types.ts:78


validateRequest

Optional validateRequest: boolean

Inherited from

IDelegateToSchemaOptions.validateRequest

Defined in

packages/delegate/src/types.ts:80