graphql-tools-monorepo / delegate/src / IDelegateRequestOptions
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: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
Defined in
packages/delegate/src/types.ts:76
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: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