Class/Object

sangria.execution

Resolver

Related Docs: object Resolver | package execution

Permalink

class Resolver[Ctx] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resolver
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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)

    Permalink

Type Members

  1. case class ChildDeferredContext(promise: Promise[Vector[Future[Vector[Defer]]]]) extends Product with Serializable

    Permalink
  2. 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

    Permalink
  3. case class DeferredResult(deferred: Vector[Future[Vector[Defer]]], futureValue: Future[Result]) extends Resolve with Product with Serializable

    Permalink
  4. case class ErrorFieldResolution(errors: ErrorRegistry) extends FieldResolution with Product with Serializable

    Permalink
  5. sealed trait FieldResolution extends AnyRef

    Permalink
  6. case class ParentDeferredContext(uc: Ctx, expectedBranches: Int) extends Product with Serializable

    Permalink
  7. sealed trait Resolve extends AnyRef

    Permalink
  8. case class Result(errors: ErrorRegistry, value: Option[Any], userContext: Option[Ctx] = None) extends Resolve with Product with Serializable

    Permalink
  9. case class SeqFutRes(value: Any = null, errors: Vector[Throwable] = Vector.empty, dctx: ChildDeferredContext = null) extends Product with Serializable

    Permalink
  10. case class SeqRes(value: Future[SeqFutRes], defer: Defer, deferFut: Future[Vector[Defer]]) extends Product with Serializable

    Permalink
  11. case class StandardFieldResolution(errors: ErrorRegistry, action: LeafAction[Ctx, Any], ctxUpdate: Option[MappedCtxUpdate[Ctx, Any, Any]]) extends FieldResolution with Product with Serializable

    Permalink
  12. case class StreamFieldResolution[Val, S[_]](errors: ErrorRegistry, value: SubscriptionValue[Ctx, Val, S], standardResolution: (Any) ⇒ StandardFieldResolution) extends FieldResolution with Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object SeqRes extends Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def collectActionsPar(path: ExecutionPath, tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields, errorReg: ErrorRegistry, userCtx: Ctx): Actions

    Permalink
  8. def collectProjections(path: ExecutionPath, field: Field[Ctx, _], astFields: Vector[Field], maxLevel: Int): Vector[ProjectedName]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def handleScheme(result: Future[((Vector[RegisteredError], Node), Ctx)], scheme: ExecutionScheme): ExecutionScheme.Result[Ctx, Node]

    Permalink
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isOptional(tpe: OutputType[_]): Boolean

    Permalink
  17. def isOptional(tpe: ObjectType[_, _], fieldName: String): Boolean

    Permalink
  18. def isUndefinedValue(value: Any): Boolean

    Permalink
  19. val marshaller: ResultMarshaller

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def nullForNotNullTypeError(position: Option[AstLocation]): ExecutionError

    Permalink
  24. def processFinalResolve(resolve: Resolve): Future[(Vector[RegisteredError], Node)]

    Permalink
  25. def resolveActionsPar(path: ExecutionPath, tpe: ObjectType[Ctx, _], actions: Actions, userCtx: Ctx, fieldsNamesOrdered: Vector[String]): Resolve

    Permalink
  26. def resolveField(userCtx: Ctx, tpe: ObjectType[Ctx, _], path: ExecutionPath, value: Any, errors: ErrorRegistry, name: String, astFields: Vector[Field]): FieldResolution

    Permalink
  27. def resolveFieldsPar(tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields)(scheme: ExecutionScheme): ExecutionScheme.Result[Ctx, Node]

    Permalink
  28. def resolveFieldsSeq(tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields)(scheme: ExecutionScheme): ExecutionScheme.Result[Ctx, Node]

    Permalink
  29. def resolveFieldsSubs(tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields)(scheme: ExecutionScheme): ExecutionScheme.Result[Ctx, Node]

    Permalink
  30. def resolveSeq(path: ExecutionPath, tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields, errorReg: ErrorRegistry): Future[(Result, Ctx)]

    Permalink
  31. def resolveSimpleListValue(simpleRes: Seq[Result], path: ExecutionPath, optional: Boolean, astPosition: Option[AstLocation]): Result

    Permalink
  32. def resolveSubs[S[_]](path: ExecutionPath, tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields, errorReg: ErrorRegistry, requestedStream: Option[SubscriptionStream[S]]): (SubscriptionStream[S], S[(Vector[RegisteredError], Node)])

    Permalink
  33. def resolveValue(path: ExecutionPath, astFields: Vector[Field], tpe: OutputType[_], field: Field[Ctx, _], value: Any, userCtx: Ctx, actualType: Option[InputType[_]] = None): Resolve

    Permalink
  34. val resultResolver: ResultResolver

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. val toScalarMiddleware: Option[(Any, InputType[_]) ⇒ Option[Any]]

    Permalink
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped