Interface: ExecutionContext<TVariables, TContext>
executor/src.ExecutionContext
Data that must be available at all points during query execution.
Namely, schema of the type system that is currently executing, and the fragments defined in the query document
Type parameters
Name | Type |
---|---|
TVariables | any |
TContext | any |
Table of contents
Properties
- contextValue
- errors
- fieldResolver
- fragments
- operation
- rootValue
- schema
- subscribeFieldResolver
- subsequentPayloads
- typeResolver
- variableValues
Properties
contextValue
• contextValue: TContext
Defined in
packages/executor/src/execution/execute.ts:107
errors
• errors: GraphQLError
[]
Defined in
packages/executor/src/execution/execute.ts:113
fieldResolver
• fieldResolver: GraphQLFieldResolver
<any
, TContext
, any
, unknown
>
Defined in
packages/executor/src/execution/execute.ts:110
fragments
• fragments: Record
<string
, FragmentDefinitionNode
>
Defined in
packages/executor/src/execution/execute.ts:105
operation
• operation: OperationDefinitionNode
Defined in
packages/executor/src/execution/execute.ts:108
rootValue
• rootValue: unknown
Defined in
packages/executor/src/execution/execute.ts:106
schema
• schema: GraphQLSchema
Defined in
packages/executor/src/execution/execute.ts:104
subscribeFieldResolver
• subscribeFieldResolver: GraphQLFieldResolver
<any
, TContext
, any
, unknown
>
Defined in
packages/executor/src/execution/execute.ts:112
subsequentPayloads
• subsequentPayloads: Set
<AsyncPayloadRecord
>
Defined in
packages/executor/src/execution/execute.ts:114
typeResolver
• typeResolver: GraphQLTypeResolver
<any
, TContext
>
Defined in
packages/executor/src/execution/execute.ts:111
variableValues
• variableValues: TVariables