graphql-tools-monorepo / delegate/src / DelegationContext
Interface: DelegationContext<TContext>
delegate/src.DelegationContext
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Table of contents
Properties
- args
- context
- fieldName
- info
- onLocatedError
- operation
- returnType
- rootValue
- skipTypeMerging
- subschema
- subschemaConfig
- targetSchema
- transformedSchema
- transforms
Properties
args
• Optional
args: Record
<string
, any
>
Defined in
packages/delegate/src/types.ts:51
context
• Optional
context: TContext
Defined in
packages/delegate/src/types.ts:52
fieldName
• fieldName: string
Defined in
packages/delegate/src/types.ts:50
info
• Optional
info: GraphQLResolveInfo
Defined in
packages/delegate/src/types.ts:53
onLocatedError
• Optional
onLocatedError: (originalError
: GraphQLError
) => GraphQLError
Type declaration
▸ (originalError
): GraphQLError
Parameters
Name | Type |
---|---|
originalError | GraphQLError |
Returns
GraphQLError
Defined in
packages/delegate/src/types.ts:55
operation
• operation: OperationTypeNode
Defined in
packages/delegate/src/types.ts:49
returnType
• returnType: GraphQLOutputType
Defined in
packages/delegate/src/types.ts:54
rootValue
• Optional
rootValue: any
Defined in
packages/delegate/src/types.ts:56
skipTypeMerging
• skipTypeMerging: boolean
Defined in
packages/delegate/src/types.ts:59
subschema
• subschema: GraphQLSchema
| SubschemaConfig
<any
, any
, any
, TContext
>
Defined in
packages/delegate/src/types.ts:46
subschemaConfig
• Optional
subschemaConfig: SubschemaConfig
<any
, any
, any
, TContext
>
Defined in
packages/delegate/src/types.ts:47
targetSchema
• targetSchema: GraphQLSchema
Defined in
packages/delegate/src/types.ts:48
transformedSchema
• transformedSchema: GraphQLSchema
Defined in
packages/delegate/src/types.ts:58
transforms
• transforms: Transform
<any
, TContext
>[]