sangria.execution

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ExecutionScheme.type

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class BeforeFieldResult[Ctx, FieldVal](fieldVal: FieldVal, actionOverride: Option[Action[Ctx, _]], attachment: Option[MiddlewareAttachment])

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
case class CollectedField(name: String, field: Field, allFields: Try[Vector[Field]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class CollectedFields(namesOrdered: Vector[String], fields: Vector[CollectedField])

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class ExceptionHandler(onException: PartialFunction[(ResultMarshaller, Throwable), HandledException], onViolation: PartialFunction[(ResultMarshaller, Violation), HandledException], onUserFacingError: PartialFunction[(ResultMarshaller, UserFacingError), HandledException])

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
class ExecutionError(message: String, val exceptionHandler: ExceptionHandler, val sourceMapper: Option[SourceMapper], val locations: List[AstLocation]) extends Exception, AstNodeLocation, UserFacingError, ErrorWithResolver

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object ExecutionPath

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
case class ExecutionResult[Ctx, Res](ctx: Ctx, result: Res, errors: Vector[RegisteredError], middlewareVals: List[(Any, Middleware[_])], validationTiming: TimeMeasurement, queryReducerTiming: TimeMeasurement)

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Extended.type
object Default.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class Executor[Ctx, Root](schema: Schema[Ctx, Root], queryValidator: QueryValidator, deferredResolver: DeferredResolver[Ctx], exceptionHandler: ExceptionHandler, deprecationTracker: Option[DeprecationTracker], middleware: List[Middleware[Ctx]], maxQueryDepth: Option[Int], queryReducers: List[QueryReducer[Ctx, _]], errorsLimit: Option[Int])(implicit executionContext: ExecutionContext)

Attributes

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

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Executor.type
case class Extension[In](data: In)(implicit iu: InputUnmarshaller[In])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class FieldCollector[Ctx, Val](schema: Schema[Ctx, Val], document: Document, variables: Map[String, VariableValue], sourceMapper: Option[SourceMapper], valueCollector: ValueCollector[Ctx, _], exceptionHandler: ExceptionHandler)

Attributes

Supertypes
class Object
trait Matchable
class Any
trait FieldTag

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FieldTag

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
FieldTag.type
sealed trait HandledException

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
class HasIntrospectionReducer[Ctx](includeTypeName: Boolean, action: (Boolean, Ctx) => ReduceAction[Ctx, Ctx]) extends QueryReducer[Ctx, Ctx]

Attributes

Supertypes
trait QueryReducer[Ctx, Ctx]
class Object
trait Matchable
class Any

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class InputDocumentMaterializer[Vars](schema: Schema[_, _], variables: Vars)(implicit iu: InputUnmarshaller[Vars])

Attributes

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

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class InternalExecutionError(message: String) extends Exception, AstNodeLocation, ErrorWithResolver

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
case object IntrospectionNotAllowedError extends Exception, UserFacingError

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
case class MappedCtxUpdate[Ctx, Val, NewVal](ctxFn: Val => Ctx, mapFn: Val => NewVal, onError: Throwable => Unit)

Attributes

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

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class MaxQueryDepthReachedError(maxDepth: Int) extends Exception, UserFacingError

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class MeasureComplexity[Ctx](action: (Double, Ctx) => ReduceAction[Ctx, Ctx]) extends QueryReducer[Ctx, Ctx]

Attributes

Companion
object
Supertypes
trait QueryReducer[Ctx, Ctx]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class MeasureQueryDepth[Ctx](action: (Int, Ctx) => ReduceAction[Ctx, Ctx]) extends QueryReducer[Ctx, Ctx]

Attributes

Supertypes
trait QueryReducer[Ctx, Ctx]
class Object
trait Matchable
class Any
trait Middleware[-Ctx]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Middleware

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Middleware.type

Attributes

Supertypes
trait Middleware[Ctx]
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
trait MiddlewareBeforeField[Ctx] extends Middleware[Ctx]

Attributes

Supertypes
trait Middleware[Ctx]
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
trait Middleware[Ctx]
class Object
trait Matchable
class Any
trait MiddlewareExtension[Ctx] extends Middleware[Ctx]

Attributes

Supertypes
trait Middleware[Ctx]
class Object
trait Matchable
class Any
Known subtypes
trait MiddlewareFromScalar[Ctx] extends Middleware[Ctx]

Attributes

Supertypes
trait Middleware[Ctx]
class Object
trait Matchable
class Any
case class MiddlewareQueryContext[+Ctx, RootVal, Input](ctx: Ctx, executor: Executor[_ <: Ctx, RootVal], queryAst: Document, operationName: Option[String], variables: Input, inputUnmarshaller: InputUnmarshaller[Input], validationTiming: TimeMeasurement, queryReducerTiming: TimeMeasurement)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait MiddlewareToScalar[Ctx] extends Middleware[Ctx]

Attributes

Supertypes
trait Middleware[Ctx]
class Object
trait Matchable
class Any
case class MultipleHandledExceptions(messages: Vector[(String, Map[String, Node], List[AstLocation])], addFieldsInExtensions: Boolean, addFieldsInError: Boolean) extends HandledException

Attributes

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

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class PreparedField[Ctx, Root](field: Field[Ctx, Root], args: Args)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class PreparedQuery[Ctx, Root, Input]

Attributes

Supertypes
class Object
trait Matchable
class Any
trait QueryReducer[-Ctx, +Out]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class MeasureComplexity[Ctx]
class MeasureQueryDepth[Ctx]
class TagCollector[Ctx, T]
object QueryReducer

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class QueryReducingError(cause: Throwable, exceptionHandler: ExceptionHandler) extends Exception, QueryAnalysisError

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class RegisteredError(path: ExecutionPath, error: Throwable, position: Option[AstLocation])

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Resolver.type
class ResultResolver(val marshaller: ResultMarshaller, exceptionHandler: ExceptionHandler, preserveOriginalErrors: Boolean)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class SimpleAstBasedExtensionMiddleware[Ctx](extensionFn: MiddlewareQueryContext[Ctx, _, _] => Value) extends Middleware[Ctx], MiddlewareExtension[Ctx]

Attributes

Supertypes
trait MiddlewareExtension[Ctx]
trait Middleware[Ctx]
class Object
trait Matchable
class Any
case class SingleHandledException(message: String, additionalFields: Map[String, Node], locations: List[AstLocation], addFieldsInExtensions: Boolean, addFieldsInError: Boolean) extends HandledException

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class StopWatch(startTime: Long, startNanos: Long)

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
StopWatch.type
case class StringTag(name: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SubscriptionField[S[_]](stream: SubscriptionStream[S]) extends FieldTag

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait FieldTag
class Object
trait Matchable
class Any
Show all
class TagCollector[Ctx, T](tagMatcher: PartialFunction[FieldTag, T], action: (Seq[T], Ctx) => ReduceAction[Ctx, Ctx]) extends QueryReducer[Ctx, Ctx]

Attributes

Supertypes
trait QueryReducer[Ctx, Ctx]
class Object
trait Matchable
class Any
case class TimeMeasurement(startMs: Long, endMs: Long, durationNanos: Long)

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
sealed trait Trinary[+T]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Defined[T]
object Null.type
class NullWithDefault[T]
object Undefined.type
object Trinary

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Trinary.type
case class UndefinedConcreteTypeError(path: ExecutionPath, abstractType: AbstractType, possibleTypes: Vector[ObjectType[_, _]], value: Any, exceptionHandler: ExceptionHandler, sourceMapper: Option[SourceMapper], locations: List[AstLocation]) extends InternalExecutionError

Attributes

Companion
object
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
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
class ValueCoercionHelper[Ctx](sourceMapper: Option[SourceMapper], deprecationTracker: Option[DeprecationTracker], userContext: Option[Ctx])

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ValueCollector[Ctx, Input](schema: Schema[_, _], inputVars: Input, sourceMapper: Option[SourceMapper], deprecationTracker: Option[DeprecationTracker], userContext: Ctx, exceptionHandler: ExceptionHandler, fromScalarMiddleware: Option[(Any, InputType[_]) => Option[Either[Violation, Any]]], ignoreErrors: Boolean)(implicit um: InputUnmarshaller[Input])

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
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
case class VariableValue(fn: (ResultMarshaller, ResultMarshaller, InputType[_]) => Either[Vector[Violation], Trinary[Node]])

Attributes

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes