class Resolver[Ctx] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Resolver
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Resolver(marshaller: ResultMarshaller, middlewareCtx: MiddlewareQueryContext[Ctx, _, _], schema: Schema[Ctx, _], valueCollector: ValueCollector[Ctx, _], variables: Map[String, VariableValue], fieldCollector: FieldCollector[Ctx, _], userContext: Ctx, exceptionHandler: ExceptionHandler, deferredResolver: DeferredResolver[Ctx], sourceMapper: Option[SourceMapper], deprecationTracker: DeprecationTracker, middleware: List[(Any, Middleware[Ctx])], maxQueryDepth: Option[Int], deferredResolverState: Any, preserveOriginalErrors: Boolean, validationTiming: TimeMeasurement, queryReducerTiming: TimeMeasurement, queryAst: Document)(implicit executionContext: ExecutionContext)
Type Members
- case class ChildDeferredContext(promise: Promise[Vector[Future[Vector[Defer]]]]) extends Product with Serializable
- case class Defer(promise: Promise[(ChildDeferredContext, Any, Vector[Throwable])], deferred: Deferred[Any], complexity: Double, field: Field[_, _], astFields: Vector[Field], args: Args) extends DeferredWithInfo with Product with Serializable
- case class DeferredResult(deferred: Vector[Future[Vector[Defer]]], futureValue: Future[Result]) extends Resolve with Product with Serializable
- case class ErrorFieldResolution(errors: ErrorRegistry) extends FieldResolution with Product with Serializable
- sealed trait FieldResolution extends AnyRef
- case class ParentDeferredContext(uc: Ctx, expectedBranches: Int) extends Product with Serializable
- sealed trait Resolve extends AnyRef
- case class Result(errors: ErrorRegistry, value: Option[Any], userContext: Option[Ctx] = None) extends Resolve with Product with Serializable
- case class SeqFutRes(value: Any = null, errors: Vector[Throwable] = Vector.empty, dctx: ChildDeferredContext = null) extends Product with Serializable
- case class SeqRes(value: Future[SeqFutRes], defer: Defer, deferFut: Future[Vector[Defer]]) extends Product with Serializable
- case class StandardFieldResolution(errors: ErrorRegistry, action: LeafAction[Ctx, Any], ctxUpdate: Option[MappedCtxUpdate[Ctx, Any, Any]]) extends FieldResolution with Product with Serializable
- case class StreamFieldResolution[Val, S[_]](errors: ErrorRegistry, value: SubscriptionValue[Ctx, Val, S], standardResolution: (Any) => StandardFieldResolution) extends FieldResolution with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collectActionsPar(path: ExecutionPath, tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields, errorReg: ErrorRegistry, userCtx: Ctx): Actions
- def collectProjections(path: ExecutionPath, field: Field[Ctx, _], astFields: Vector[Field], maxLevel: Int): Vector[ProjectedName]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def handleScheme(result: Future[((Vector[RegisteredError], Node), Ctx)], scheme: ExecutionScheme): ExecutionScheme.Result[Ctx, Node]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isOptional(tpe: OutputType[_]): Boolean
- def isOptional(tpe: ObjectType[_, _], fieldName: String): Boolean
- def isUndefinedValue(value: Any): Boolean
- val marshaller: ResultMarshaller
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def nullForNotNullTypeError(position: Option[AstLocation]): ExecutionError
- def processFinalResolve(resolve: Resolve): Future[(Vector[RegisteredError], Node)]
- def resolveActionsPar(path: ExecutionPath, tpe: ObjectType[Ctx, _], actions: Actions, userCtx: Ctx, fieldsNamesOrdered: Vector[String]): Resolve
- def resolveField(userCtx: Ctx, tpe: ObjectType[Ctx, _], path: ExecutionPath, value: Any, errors: ErrorRegistry, name: String, astFields: Vector[Field]): FieldResolution
- def resolveFieldsPar(tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields)(scheme: ExecutionScheme): ExecutionScheme.Result[Ctx, Node]
- def resolveFieldsSeq(tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields)(scheme: ExecutionScheme): ExecutionScheme.Result[Ctx, Node]
- def resolveFieldsSubs(tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields)(scheme: ExecutionScheme): ExecutionScheme.Result[Ctx, Node]
- def resolveSeq(path: ExecutionPath, tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields, errorReg: ErrorRegistry): Future[(Result, Ctx)]
- def resolveSimpleListValue(simpleRes: Seq[Result], path: ExecutionPath, optional: Boolean, astPosition: Option[AstLocation]): Result
- def resolveSubs[S[_]](path: ExecutionPath, tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields, errorReg: ErrorRegistry, requestedStream: Option[SubscriptionStream[S]]): (SubscriptionStream[S], S[(Vector[RegisteredError], Node)])
- def resolveValue(path: ExecutionPath, astFields: Vector[Field], tpe: OutputType[_], field: Field[Ctx, _], value: Any, userCtx: Ctx, actualType: Option[InputType[_]] = None): Resolve
- val resultResolver: ResultResolver
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val toScalarMiddleware: Option[(Any, InputType[_]) => Option[Any]]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object SeqRes extends Serializable