To be honest, it looks like the snippet doesn't really match what should be there at all:
The Future of marshaled result is not the only possible result of a query execution. By importing different implementation of ExecutionScheme you can change the result type of an execution. Here is an example:
import sangria.execution.ExecutionScheme.Extended
val result: Future[ExecutionResult[Ctx, JsValue]] =
val Executor.execute(schema, query)
To be honest, it looks like the snippet doesn't really match what should be there at all:
(
ExecutionScheme
isn't used anywhere here)