Executor

object Executor
class Object
trait Matchable
class Any

Value members

Concrete methods

def executeRequest[R](request: ExecutionRequest, plan: Step[R], variables: Map[String, InputValue], fieldWrappers: List[FieldWrapper[R]], queryExecution: QueryExecution): URIO[R, GraphQLResponse[CalibanError]]

Executes the given query against a schema. It returns either an caliban.CalibanError.ExecutionError or a ResponseValue.

Executes the given query against a schema. It returns either an caliban.CalibanError.ExecutionError or a ResponseValue.

Value Params
fieldWrappers

a list of field wrappers

plan

an execution plan

queryExecution

a strategy for executing queries in parallel or not

request

a request object containing all information needed

variables

a list of variables