Function: buildExecutionContext()
buildExecutionContext<
TData,TVariables,TContext>(args): readonlyGraphQLError[] |ExecutionContext<any,any>
Defined in: packages/executor/src/execution/execute.ts:410
Internal
Constructs a ExecutionContext object from the arguments passed to execute, which we will pass throughout the other execution methods.
Throws a GraphQLError if a valid execution context cannot be created.
TODO: consider no longer exporting this function
Type Parameters
TData
TData = any
TVariables
TVariables = any
TContext
TContext = any
Parameters
args
ExecutionArgs<TData, TVariables, TContext>
Returns
readonly GraphQLError[] | ExecutionContext<any, any>