package
schema
Type Members
-
-
sealed
trait
Action[+Ctx, +Val] extends AnyRef
-
final
case class
Args(raw: Map[String, Any]) extends AnyVal with Product with Serializable
-
case class
Argument[T](name: String, argumentType: InputType[_], description: Option[String], defaultValue: Option[Tuple2[_, ToInput[_, _]]], fromInput: FromInput[_]) extends InputValue[T] with Named with Product with Serializable
-
-
-
-
-
-
-
case class
Context[Ctx, Val](value: Val, ctx: Ctx, args: Args, schema: Schema[Ctx, Val], field: Field[Ctx, Val], parentType: ObjectType[Ctx, Any], marshaller: ResultMarshaller, sourceMapper: Option[SourceMapper], deprecationTracker: DeprecationTracker, astFields: Vector[ast.Field], path: ExecutionPath) extends WithArguments with WithInputTypeRendering[Ctx] with Product with Serializable
-
-
-
case class
DefaultValueParser[T](schema: Schema[_, _], parser: InputParser[T], toInput: ToInput[T, _]) extends Product with Serializable
-
-
trait
Deferred[+T] extends AnyRef
-
case class
DeferredFutureValue[Ctx, Val](value: Future[Deferred[Val]]) extends LeafAction[Ctx, Val] with Product with Serializable
-
-
case class
DeferredValue[Ctx, Val](value: Deferred[Val]) extends LeafAction[Ctx, Val] with Product with Serializable
-
case class
Directive(name: String, description: Option[String] = None, arguments: List[Argument[_]] = Nil, locations: Set[DirectiveLocation.Value] = Set.empty, shouldInclude: (DirectiveContext) ⇒ Boolean) extends HasArguments with Product with Serializable
-
-
case class
EnumType[T](name: String, description: Option[String] = None, values: List[EnumValue[T]]) extends InputType[@@[T, CoercedScalaResult]] with OutputType[T] with LeafType with NullableType with UnmodifiedType with Named with Product with Serializable
-
case class
EnumValue[+T](name: String, description: Option[String] = None, value: T, deprecationReason: Option[String] = None) extends Named with Product with Serializable
-
case class
Field[Ctx, Val](name: String, fieldType: OutputType[_], description: Option[String], arguments: List[Argument[_]], resolve: (Context[Ctx, Val]) ⇒ Action[Ctx, _], deprecationReason: Option[String], tags: List[FieldTag], complexity: Option[(Ctx, Args, Double) ⇒ Double], manualPossibleTypes: () ⇒ List[ObjectType[_, _]]) extends Named with HasArguments with Product with Serializable
-
case class
FutureValue[Ctx, Val](value: Future[Val]) extends LeafAction[Ctx, Val] with ReduceAction[Ctx, Val] with Product with Serializable
-
sealed
trait
HasArguments extends AnyRef
-
case class
InputField[T](name: String, fieldType: InputType[T], description: Option[String], defaultValue: Option[Tuple2[_, ToInput[_, _]]]) extends InputValue[T] with Named with Product with Serializable
-
-
-
case class
InputObjectType[T](name: String, description: Option[String] = None, fieldsFn: () ⇒ List[InputField[_]]) extends InputType[@@[T, InputObjectResult]] with NullableType with UnmodifiedType with Named with Product with Serializable
-
-
trait
InputValue[T] extends AnyRef
-
-
case class
InterfaceType[Ctx, Val](name: String, description: Option[String] = None, fieldsFn: () ⇒ List[Field[Ctx, Val]], interfaces: List[InterfaceType[Ctx, _]], manualPossibleTypes: () ⇒ List[ObjectType[_, _]]) extends ObjectLikeType[Ctx, Val] with AbstractType with Product with Serializable
-
-
-
sealed
trait
LeafAction[+Ctx, +Val] extends Action[Ctx, Val]
-
-
-
-
-
-
class
MappedUpdateCtx[Ctx, Val, NewVal] extends Action[Ctx, NewVal]
-
case class
MappingDeferred[A, +B](deferred: Deferred[A], mapFn: (A) ⇒ B) extends Deferred[B] with Product with Serializable
-
sealed
trait
Named extends AnyRef
-
sealed
trait
NullableType extends AnyRef
-
-
case class
ObjectType[Ctx, Val](name: String, description: Option[String], fieldsFn: () ⇒ List[Field[Ctx, Val]], interfaces: List[InterfaceType[Ctx, _]], instanceCheck: (Any, Class[_], ObjectType[Ctx, Val]) ⇒ Boolean)(implicit evidence$1: ClassTag[Val]) extends ObjectLikeType[Ctx, Val] with Product with Serializable
-
case class
OptionInputType[T](ofType: InputType[T]) extends InputType[Option[T]] with Product with Serializable
-
case class
OptionType[T](ofType: OutputType[T]) extends OutputType[Option[T]] with Product with Serializable
-
-
case class
PartialFutureValue[Ctx, Val](value: Future[PartialValue[Ctx, Val]]) extends LeafAction[Ctx, Val] with Product with Serializable
-
case class
PartialValue[Ctx, Val](value: Val, errors: Vector[Throwable]) extends LeafAction[Ctx, Val] with Product with Serializable
-
case class
PossibleInterface[Ctx, Concrete](interfaceType: InterfaceType[Ctx, _]) extends Product with Serializable
-
-
case class
PossibleObject[Ctx, Abstract](objectType: ObjectType[Ctx, _]) extends Product with Serializable
-
trait
PossibleType[AbstrType, ConcreteType] extends AnyRef
-
case class
ProjectedName(name: String, children: Vector[ProjectedName] = Vector.empty) extends Product with Serializable
-
case class
ProjectionName(name: String) extends FieldTag with Product with Serializable
-
trait
Projector[Ctx, Val, Res] extends (Context[Ctx, Val]) ⇒ Action[Ctx, Res]
-
sealed
trait
ReduceAction[+Ctx, +Val] extends Action[Ctx, Val]
-
case class
ScalarType[T](name: String, description: Option[String] = None, coerceUserInput: (Any) ⇒ Either[Violation, T], coerceOutput: (T, Set[MarshallerCapability]) ⇒ Any, coerceInput: (ast.Value) ⇒ Either[Violation, T], complexity: Double = 0.0D, scalarInfo: Set[ScalarValueInfo] = Set.empty) extends InputType[@@[T, CoercedScalaResult]] with OutputType[T] with LeafType with NullableType with UnmodifiedType with Named with Product with Serializable
-
-
case class
SchemaMaterializationException(message: String, cause: Throwable = null) extends Exception with Product with Serializable
-
case class
SchemaValidationException(violations: List[Violation]) extends IllegalArgumentException with Product with Serializable
-
-
case class
TryValue[Ctx, Val](value: Try[Val]) extends LeafAction[Ctx, Val] with ReduceAction[Ctx, Val] with Product with Serializable
-
sealed
trait
Type extends AnyRef
-
case class
UnionType[Ctx](name: String, description: Option[String] = None, types: List[ObjectType[Ctx, _]]) extends OutputType[Any] with CompositeType[Any] with AbstractType with NullableType with UnmodifiedType with Product with Serializable
-
-
class
UpdateCtx[Ctx, Val] extends Action[Ctx, Val]
-
trait
ValidOutType[-Res, +Out] extends AnyRef
-
case class
Value[Ctx, Val](value: Val) extends LeafAction[Ctx, Val] with ReduceAction[Ctx, Val] with Product with Serializable
-
-
-
-
Value Members
-
-
object
Args extends Serializable
-
object
Argument extends Serializable
-
-
-
-
implicit
val
BigDecimalType: ScalarType[BigDecimal]
-
implicit
val
BigIntType: ScalarType[BigInt]
-
implicit
val
BooleanType: ScalarType[Boolean]
-
val
BuiltinDirectives: List[Directive]
-
val
BuiltinDirectivesByName: Map[String, Directive]
-
val
BuiltinScalars: List[ScalarType[_]]
-
val
BuiltinScalarsByName: Map[String, ScalarType[_]]
-
val
DefaultDeprecationReason: String
-
-
-
-
-
val
DeprecatedDirective: Directive
-
-
object
Field extends Serializable
-
implicit
val
FloatType: ScalarType[Double]
-
-
val
IfArg: Argument[Boolean]
-
val
IncludeDirective: Directive
-
object
InputField extends Serializable
-
-
-
implicit
val
IntType: ScalarType[Int]
-
object
InterfaceType extends Serializable
-
-
-
implicit
val
LongType: ScalarType[Long]
-
-
object
ObjectType extends Serializable
-
-
-
-
-
-
val
ReasonArg: Argument[String]
-
-
object
Schema extends Serializable
-
-
val
SkipDirective: Directive
-
implicit
val
StringType: ScalarType[String]
-
object
UnsupportedDeferError extends Exception with Product with Serializable
-
-
-
-
def
fields[Ctx, Val](fields: Field[Ctx, Val]*): List[Field[Ctx, Val]]
-
def
interfaces[Ctx, Concrete](interfaces: PossibleInterface[Ctx, Concrete]*): List[PossibleInterface[Ctx, Concrete]]
-
def
possibleTypes[Ctx, Abstract](objectTypes: PossibleObject[Ctx, Abstract]*): List[PossibleObject[Ctx, Abstract]]
-
def
valueOutput[T](value: T, capabilities: Set[MarshallerCapability]): T
Inherited from AnyRef
Inherited from Any