Interface: IDelegateRequestOptions<TContext, TArgs>
delegate/src.IDelegateRequestOptions
Type parameters
| Name | Type |
|---|---|
TContext | Record<string, any> |
TArgs | Record<string, any> |
Hierarchy
-
IDelegateToSchemaOptions<TContext,TArgs>↳
IDelegateRequestOptions
Table of contents
Properties
- args
- context
- fieldName
- fieldNodes
- info
- onLocatedError
- operation
- operationName
- request
- returnType
- rootValue
- schema
- selectionSet
- skipTypeMerging
- transformedSchema
- transforms
- validateRequest
Properties
args
• Optional args: TArgs
Inherited from
Defined in
packages/delegate/src/types.ts:68 (opens in a new tab)
context
• Optional context: TContext
Inherited from
IDelegateToSchemaOptions.context
Defined in
packages/delegate/src/types.ts:71 (opens in a new tab)
fieldName
• Optional fieldName: string
Inherited from
IDelegateToSchemaOptions.fieldName
Defined in
packages/delegate/src/types.ts:65 (opens in a new tab)
fieldNodes
• Optional fieldNodes: readonly FieldNode[]
Inherited from
IDelegateToSchemaOptions.fieldNodes
Defined in
packages/delegate/src/types.ts:70 (opens in a new tab)
info
• info: GraphQLResolveInfo
Inherited from
Defined in
packages/delegate/src/types.ts:72 (opens in a new tab)
onLocatedError
• Optional onLocatedError: (originalError: GraphQLError) => GraphQLError
Type declaration
▸ (originalError): GraphQLError
Parameters
| Name | Type |
|---|---|
originalError | GraphQLError |
Returns
GraphQLError
Inherited from
IDelegateToSchemaOptions.onLocatedError
Defined in
packages/delegate/src/types.ts:67 (opens in a new tab)
operation
• Optional operation: OperationTypeNode
Inherited from
IDelegateToSchemaOptions.operation
Defined in
packages/delegate/src/types.ts:64 (opens in a new tab)
operationName
• Optional operationName: string
Inherited from
IDelegateToSchemaOptions.operationName
Defined in
packages/delegate/src/types.ts:63 (opens in a new tab)
request
• request: ExecutionRequest<any, any, any, Record<string, any>, any>
Defined in
packages/delegate/src/types.ts:82 (opens in a new tab)
returnType
• Optional returnType: GraphQLOutputType
Inherited from
IDelegateToSchemaOptions.returnType
Defined in
packages/delegate/src/types.ts:66 (opens in a new tab)
rootValue
• Optional rootValue: any
Inherited from
IDelegateToSchemaOptions.rootValue
Defined in
packages/delegate/src/types.ts:73 (opens in a new tab)
schema
• schema: GraphQLSchema | SubschemaConfig<any, any, any, TContext>
Inherited from
IDelegateToSchemaOptions.schema
Defined in
packages/delegate/src/types.ts:62 (opens in a new tab)
selectionSet
• Optional selectionSet: SelectionSetNode
Inherited from
IDelegateToSchemaOptions.selectionSet
Defined in
packages/delegate/src/types.ts:69 (opens in a new tab)
skipTypeMerging
• Optional skipTypeMerging: boolean
Inherited from
IDelegateToSchemaOptions.skipTypeMerging
Defined in
packages/delegate/src/types.ts:77 (opens in a new tab)
transformedSchema
• Optional transformedSchema: GraphQLSchema
Inherited from
IDelegateToSchemaOptions.transformedSchema
Defined in
packages/delegate/src/types.ts:75 (opens in a new tab)
transforms
• Optional transforms: Transform<any, TContext>[]
Inherited from
IDelegateToSchemaOptions.transforms
Defined in
packages/delegate/src/types.ts:74 (opens in a new tab)
validateRequest
• Optional validateRequest: boolean
Inherited from
IDelegateToSchemaOptions.validateRequest