class
Resolver[Ctx] extends AnyRef
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[_])], maxQueryDepth: Option[Int])(implicit executionContext: ExecutionContext)
Type Members
-
case class
Defer(promise: Promise[Any], deferred: Deferred[Any]) extends Product with Serializable
-
case class
DeferredResult(deferred: Vector[Future[Vector[Defer]]], futureValue: Future[Result]) extends Resolve with Product with Serializable
-
trait
Resolve extends AnyRef
-
case class
Result(errors: ErrorRegistry, value: Option[Any], userContext: Option[Ctx] = None) extends Resolve with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
def
collectProjections(path: ExecutionPath, field: Field[Ctx, _], astFields: Vector[Field], maxLevel: Int): Vector[ProjectedName]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
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
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
nullForNotNullTypeError(position: Option[Position]): ExecutionError
-
def
processFinalResolve(resolve: Resolve): Future[Node]
-
def
resolveActionsPar(path: ExecutionPath, tpe: ObjectType[Ctx, _], actions: Actions, userCtx: Ctx, fieldsNamesOrdered: Vector[String]): Resolve
-
def
resolveDeferred(uc: Ctx, res: DeferredResult): Future[Result]
-
-
def
resolveFieldsPar(tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields): Future[Node]
-
def
resolveFieldsSeq(tpe: ObjectType[Ctx, _], value: Any, fields: CollectedFields): Future[Node]
-
-
def
resolveSimpleListValue(simpleRes: Seq[Result], path: ExecutionPath, optional: Boolean, astPosition: Option[Position]): Result
-
def
resolveValue(path: ExecutionPath, astFields: Vector[Field], tpe: OutputType[_], field: Field[Ctx, _], value: Any, userCtx: Ctx): Resolve
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any