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] 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: Vector[String]) extends WithArguments with WithInputTypeRendering[Ctx] with 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] 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] extends InputValue[T] with Named with Product with Serializable
-
-
-
-
-
trait
InputValue[T] extends AnyRef
-
-
-
-
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] 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
PossibleInterface[Ctx, Concrete](interfaceType: InterfaceType[Ctx, _]) extends Product with Serializable
-
-
case class
PossibleObject[Ctx, Abstract](objectType: ObjectType[Ctx, _]) extends Product with Serializable
-
trait
PossibleType[AbstractType, 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) ⇒ ast.Value, coerceInput: (ast.Value) ⇒ Either[Violation, T], complexity: Double = 0.0D) 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
BuiltinScalars: List[ScalarType[_]]
-
val
BuiltinScalarsByName: Map[String, ScalarType[_]]
-
-
-
-
-
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
-
-
-
-
-
-
-
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]]
Inherited from AnyRef
Inherited from Any