package
schema
Type Members
-
-
sealed
trait
Action[+Ctx, +Val] extends AnyRef
-
-
-
case class
AnyFieldResolver[Ctx](resolve: PartialFunction[MatOrigin, (Context[Ctx, _]) ⇒ Action[Ctx, Any]]) extends AstSchemaResolver[Ctx] with Product with Serializable
-
case class
Args(raw: Map[String, Any], argsWithDefault: Set[String], optionalArgs: Set[String], undefinedArgs: Set[String], defaultInfo: TrieMap[String, Any]) extends Product with Serializable
-
case class
Argument[T](name: String, argumentType: InputType[_], description: Option[String], defaultValue: Option[Tuple2[_, ToInput[_, _]]], fromInput: FromInput[_], astDirectives: Vector[ast.Directive], astNodes: Vector[AstNode]) extends InputValue[T] with Named with HasAstInfo 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, query: Document, sourceMapper: Option[SourceMapper], deprecationTracker: DeprecationTracker, astFields: Vector[ast.Field], path: ExecutionPath, deferredResolverState: Any, middlewareAttachments: Vector[MiddlewareAttachment] = Vector.empty) 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
-
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 = _ ⇒ true) extends HasArguments with Named with Product with Serializable
-
-
-
-
-
-
-
-
-
-
-
case class
DynamicDirectiveResolver[Ctx, T](directiveName: String, resolve: (DynamicDirectiveContext[Ctx, T]) ⇒ Action[Ctx, Any], complexity: Option[(ComplexityDynamicDirectiveContext[Ctx, T]) ⇒ (Ctx, Args, Double) ⇒ Double] = None)(implicit marshaller: ResultMarshallerForType[T]) extends AstSchemaResolver[Ctx] with Product with Serializable
-
case class
EnumType[T](name: String, description: Option[String] = None, values: List[EnumValue[T]], astDirectives: Vector[ast.Directive] = Vector.empty, astNodes: Vector[AstNode] = Vector.empty) extends InputType[@@[T, CoercedScalaResult]] with OutputType[T] with LeafType with NullableType with UnmodifiedType with Named with HasAstInfo with Product with Serializable
-
case class
EnumValue[+T](name: String, description: Option[String] = None, value: T, deprecationReason: Option[String] = None, astDirectives: Vector[ast.Directive] = Vector.empty, astNodes: Vector[AstNode] = Vector.empty) extends Named with HasDeprecation with HasAstInfo with Product with Serializable
-
-
-
-
-
-
-
-
case class
ExistingSchemaOrigin[Ctx, Val](schema: Schema[Ctx, Val]) extends BaseMatOrigin 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[_, _]], astDirectives: Vector[ast.Directive], astNodes: Vector[AstNode]) extends Named with HasArguments with HasDeprecation with HasAstInfo 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
-
sealed
trait
HasAstInfo extends AnyRef
-
-
case class
InputField[T](name: String, fieldType: InputType[T], description: Option[String], defaultValue: Option[Tuple2[_, ToInput[_, _]]], astDirectives: Vector[ast.Directive], astNodes: Vector[AstNode]) extends InputValue[T] with Named with HasAstInfo with Product with Serializable
-
case class
InputMaterializationException(message: String) extends Exception with Product with Serializable
-
-
-
case class
InputObjectType[T](name: String, description: Option[String] = None, fieldsFn: () ⇒ List[InputField[_]], astDirectives: Vector[ast.Directive], astNodes: Vector[AstNode]) extends InputType[@@[T, InputObjectResult]] with NullableType with UnmodifiedType with Named with HasAstInfo with Product with Serializable
-
-
-
trait
InputValue[T] extends AnyRef
-
case class
InstanceCheck[Ctx](fn: (InstanceCheckContext[Ctx]) ⇒ (Any, Class[_]) ⇒ Boolean) extends AstSchemaResolver[Ctx] with Product with Serializable
-
-
case class
InterfaceType[Ctx, Val](name: String, description: Option[String] = None, fieldsFn: () ⇒ List[Field[Ctx, Val]], interfaces: List[InterfaceType[Ctx, _]], manualPossibleTypes: () ⇒ List[ObjectType[_, _]], astDirectives: Vector[ast.Directive], astNodes: Vector[AstNode] = Vector.empty) 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, Vector[Throwable])) extends Deferred[B] with Product with Serializable
-
trait
MatOrigin extends AnyRef
-
sealed
trait
MaterializedField[Ctx, +Val] extends AnyRef
-
-
-
-
-
-
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, astDirectives: Vector[ast.Directive], astNodes: Vector[AstNode])(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
SDLOrigin(document: Document) extends BaseMatOrigin with Product with Serializable
-
case class
ScalarAlias[T, ST](aliasFor: ScalarType[ST], toScalar: (T) ⇒ ST, fromScalar: (ST) ⇒ Either[Violation, T]) extends InputType[@@[T, CoercedScalaResult]] with OutputType[T] with LeafType with NullableType with UnmodifiedType with Named with Product with Serializable
-
-
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, astDirectives: Vector[ast.Directive] = Vector.empty, astNodes: Vector[AstNode] = Vector.empty) extends InputType[@@[T, CoercedScalaResult]] with OutputType[T] with LeafType with NullableType with UnmodifiedType with Named with Product with Serializable
-
case class
Schema[Ctx, Val](query: ObjectType[Ctx, Val], mutation: Option[ObjectType[Ctx, Val]] = None, subscription: Option[ObjectType[Ctx, Val]] = None, additionalTypes: List[Type with Named] = Nil, directives: List[Directive] = BuiltinDirectives, validationRules: List[SchemaValidationRule] = SchemaValidationRule.default, astDirectives: Vector[ast.Directive] = Vector.empty, astNodes: Vector[AstNode] = Vector.empty) extends HasAstInfo with Product with Serializable
-
sealed
trait
SchemaChange extends AnyRef
-
-
case class
SchemaMaterializationException(message: String, cause: Throwable = null) extends Exception with Product with Serializable
-
-
-
case class
SequenceLeafAction[Ctx, Val](value: Seq[LeafAction[Ctx, Val]]) extends LeafAction[Ctx, Seq[Val]] 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, _]], astDirectives: Vector[ast.Directive] = Vector.empty, astNodes: Vector[AstNode] = Vector.empty) extends OutputType[Any] with CompositeType[Any] with AbstractType with NullableType with UnmodifiedType with HasAstInfo 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
BuiltinGraphQLScalars: List[ScalarType[_]]
-
val
BuiltinGraphQLScalarsByName: Map[String, ScalarType[_]]
-
val
BuiltinSangriaScalars: List[ScalarType[_]]
-
val
BuiltinSangriaScalarsByName: Map[String, ScalarType[_]]
-
val
BuiltinScalars: List[ScalarType[_]]
-
val
BuiltinScalarsByName: Map[String, ScalarType[_]]
-
-
val
DefaultDeprecationReason: String
-
-
-
-
-
val
DeprecatedDirective: Directive
-
-
-
-
object
Field extends Serializable
-
object
FieldResolver extends Serializable
-
implicit
val
FloatType: ScalarType[Double]
-
-
val
IfArg: Argument[Boolean]
-
val
IncludeDirective: Directive
-
object
InputField extends Serializable
-
-
-
object
InstanceCheck 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]
-
-
-
-
-
-
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