sangria.execution.batch

Members list

Type members

Classlikes

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class BatchExecutionPlan(exportOperations: Map[String, ExportOperation], dependencies: Map[String, Vector[(String, Set[String])]])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object BatchExecutor

EXPERIMENTAL

EXPERIMENTAL

Batch query executor which provides following features:

  • Allows specifying multiple operationNames when executing a GraphQL query document. All operations would be executed in order inferred from the dependencies between queries.
  • Support for @export(as: "foo") directive. This directive allows you to save the results of the query execution and then use it as a variable in a different query within the same document. This provides a way to define data dependencies between queries.
  • When used with @export directive, the variables would be automatically inferred by the execution engine, so you don't need to declare them explicitly (though you can)

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class CircularOperationDependencyViolation(operationName: String, path: Vector[String], sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class UndefinedVariableDefinitionViolation(operationName: String, variableName: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all
case class VariableDefinitionInferenceViolation(operationName: String, variableName: String, type1: String, type2: String, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends AstNodeViolation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Violation
class Object
trait Matchable
class Any
Show all