object
BatchExecutor
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
val
AsArg: Argument[String]
-
val
ExportDirective: Directive
-
val
OperationNameExtension: Middleware[Any]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
executeBatch[Ctx, Root, Input, T](schema: Schema[Ctx, Root], queryAst: Document, operationNames: Seq[String], userContext: Ctx = (), root: Root = (), variables: Input = emptyMapVars, queryValidator: QueryValidator = QueryValidator.default, deferredResolver: DeferredResolver[Ctx] = DeferredResolver.empty, exceptionHandler: ExceptionHandler = ExceptionHandler.empty, deprecationTracker: DeprecationTracker = DeprecationTracker.empty, middleware: List[Middleware[Ctx]] = Nil, maxQueryDepth: Option[Int] = None, queryReducers: List[QueryReducer[Ctx, _]] = Nil, inferVariableDefinitions: Boolean = true)(implicit executionContext: ExecutionContext, marshaller: SymmetricMarshaller[T], um: InputUnmarshaller[Input], scheme: ExecutionScheme): Result[Ctx, T]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
final
def
wait(): Unit
Deprecated Value Members
-
def
finalize(): Unit
Inherited from AnyRef
Inherited from Any
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)