Skip to main content
Latest
function buildExecutionContext
import { buildExecutionContext } from "https://deno.land/x/graphql_deno@v15.0.0/lib/execution/execute.js";

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.

Parameters

schema
document
rootValue
contextValue
rawVariableValues
operationName
fieldResolver
typeResolver