Package

sangria

schema

Permalink

package schema

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

Type Members

  1. sealed trait AbstractType extends Type with Named

    Permalink
  2. sealed trait Action[+Ctx, +Val] extends AnyRef

    Permalink
  3. case class Args(raw: Map[String, Any], argsWithDefault: Set[String], optionalArgs: Set[String], undefinedArgs: Set[String], defaultInfo: TrieMap[String, Any]) extends Product with Serializable

    Permalink
  4. case class Argument[T](name: String, argumentType: InputType[_], description: Option[String], defaultValue: Option[Tuple2[_, ToInput[_, _]]], fromInput: FromInput[_], astDirectives: Vector[ast.Directive]) extends InputValue[T] with Named with Product with Serializable

    Permalink
  5. trait ArgumentType[T] extends AnyRef

    Permalink
  6. trait ArgumentTypeLowPrio extends ArgumentTypeLowestPrio

    Permalink
  7. trait ArgumentTypeLowestPrio extends AnyRef

    Permalink
  8. trait AstSchemaBuilder[Ctx] extends AnyRef

    Permalink
  9. class AstSchemaMaterializer[Ctx] extends AnyRef

    Permalink
  10. sealed trait CompositeType[T] extends Type with Named with OutputType[T]

    Permalink
  11. 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, deferredResolverState: Any) extends WithArguments with WithInputTypeRendering[Ctx] with Product with Serializable

    Permalink
  12. class DefaultAstSchemaBuilder[Ctx] extends AstSchemaBuilder[Ctx]

    Permalink
  13. class DefaultIntrospectionSchemaBuilder[Ctx] extends IntrospectionSchemaBuilder[Ctx]

    Permalink
  14. case class DefaultValueParser[T](schema: Schema[_, _], parser: InputParser[T], toInput: ToInput[T, _]) extends Product with Serializable

    Permalink
  15. class DefaultValuesValidationRule extends SchemaValidationRule

    Permalink
  16. case class DeferredFutureValue[Ctx, Val](value: Future[Deferred[Val]]) extends LeafAction[Ctx, Val] with Product with Serializable

    Permalink
  17. case class DeferredValue[Ctx, Val](value: Deferred[Val]) extends LeafAction[Ctx, Val] with Product with Serializable

    Permalink
  18. 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 Named with Product with Serializable

    Permalink
  19. case class DirectiveContext(selection: WithDirectives, directive: Directive, args: Args) extends WithArguments with Product with Serializable

    Permalink
  20. case class EnumType[T](name: String, description: Option[String] = None, values: List[EnumValue[T]], astDirectives: Vector[ast.Directive] = Vector.empty) extends InputType[@@[T, CoercedScalaResult]] with OutputType[T] with LeafType with NullableType with UnmodifiedType with Named with Product with Serializable

    Permalink
  21. case class EnumValue[+T](name: String, description: Option[String] = None, value: T, deprecationReason: Option[String] = None, astDirectives: Vector[ast.Directive] = Vector.empty) extends Named with HasDeprecation with Product with Serializable

    Permalink
  22. class EnumValueNameValidationRule extends SchemaValidationRule

    Permalink
  23. 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]) extends Named with HasArguments with HasDeprecation with Product with Serializable

    Permalink
  24. class FieldValidationRule extends SchemaValidationRule

    Permalink
  25. case class FutureValue[Ctx, Val](value: Future[Val]) extends LeafAction[Ctx, Val] with ReduceAction[Ctx, Val] with Product with Serializable

    Permalink
  26. sealed trait HasArguments extends AnyRef

    Permalink
  27. sealed trait HasDeprecation extends AnyRef

    Permalink
  28. case class InputField[T](name: String, fieldType: InputType[T], description: Option[String], defaultValue: Option[Tuple2[_, ToInput[_, _]]], astDirectives: Vector[ast.Directive]) extends InputValue[T] with Named with Product with Serializable

    Permalink
  29. trait InputObjectDefaultResult[T] extends AnyRef

    Permalink
  30. trait InputObjectDefaultResultLowPrio extends AnyRef

    Permalink
  31. case class InputObjectType[T](name: String, description: Option[String] = None, fieldsFn: () ⇒ List[InputField[_]], astDirectives: Vector[ast.Directive]) extends InputType[@@[T, InputObjectResult]] with NullableType with UnmodifiedType with Named with Product with Serializable

    Permalink
  32. sealed trait InputType[+T] extends Type

    Permalink
  33. trait InputValue[T] extends AnyRef

    Permalink
  34. class InterfaceImplementationValidationRule extends SchemaValidationRule

    Permalink
  35. 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]) extends ObjectLikeType[Ctx, Val] with AbstractType with Product with Serializable

    Permalink
  36. class IntrospectionNamesValidationRule extends SchemaValidationRule

    Permalink
  37. trait IntrospectionSchemaBuilder[Ctx] extends AnyRef

    Permalink
  38. class IntrospectionSchemaMaterializer[Ctx, T] extends AnyRef

    Permalink
  39. sealed trait LeafAction[+Ctx, +Val] extends Action[Ctx, Val]

    Permalink
  40. sealed trait LeafType extends Type with Named

    Permalink
  41. case class ListInputType[T](ofType: InputType[T]) extends InputType[Seq[T]] with NullableType with Product with Serializable

    Permalink
  42. case class ListType[T](ofType: OutputType[T]) extends OutputType[Seq[T]] with NullableType with Product with Serializable

    Permalink
  43. trait LowPrioActions extends LowestPrioActions

    Permalink
  44. trait LowestPrioActions extends AnyRef

    Permalink
  45. class MappedSequenceLeafAction[Ctx, Val, NewVal] extends LeafAction[Ctx, NewVal]

    Permalink
  46. class MappedUpdateCtx[Ctx, Val, NewVal] extends Action[Ctx, NewVal]

    Permalink
  47. case class MappingDeferred[A, +B](deferred: Deferred[A], mapFn: (A) ⇒ B) extends Deferred[B] with Product with Serializable

    Permalink
  48. sealed trait Named extends AnyRef

    Permalink
  49. sealed trait NullableType extends AnyRef

    Permalink
  50. sealed trait ObjectLikeType[Ctx, Val] extends OutputType[Val] with CompositeType[Val] with NullableType with UnmodifiedType with Named

    Permalink
  51. 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])(implicit evidence$1: ClassTag[Val]) extends ObjectLikeType[Ctx, Val] with Product with Serializable

    Permalink
  52. case class OptionInputType[T](ofType: InputType[T]) extends InputType[Option[T]] with Product with Serializable

    Permalink
  53. case class OptionType[T](ofType: OutputType[T]) extends OutputType[Option[T]] with Product with Serializable

    Permalink
  54. sealed trait OutputType[+T] extends Type

    Permalink
  55. case class PartialFutureValue[Ctx, Val](value: Future[PartialValue[Ctx, Val]]) extends LeafAction[Ctx, Val] with Product with Serializable

    Permalink
  56. case class PartialValue[Ctx, Val](value: Val, errors: Vector[Throwable]) extends LeafAction[Ctx, Val] with Product with Serializable

    Permalink
  57. case class PossibleInterface[Ctx, Concrete](interfaceType: InterfaceType[Ctx, _]) extends Product with Serializable

    Permalink
  58. trait PossibleInterfaceLowPrioImplicits extends AnyRef

    Permalink
  59. case class PossibleObject[Ctx, Abstract](objectType: ObjectType[Ctx, _]) extends Product with Serializable

    Permalink
  60. trait PossibleType[AbstrType, ConcreteType] extends AnyRef

    Permalink
  61. case class ProjectedName(name: String, children: Vector[ProjectedName] = Vector.empty) extends Product with Serializable

    Permalink
  62. case class ProjectionName(name: String) extends FieldTag with Product with Serializable

    Permalink
  63. trait Projector[Ctx, Val, Res] extends (Context[Ctx, Val]) ⇒ Action[Ctx, Res]

    Permalink
  64. sealed trait ReduceAction[+Ctx, +Val] extends Action[Ctx, Val]

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

    Permalink
  66. 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) extends InputType[@@[T, CoercedScalaResult]] with OutputType[T] with LeafType with NullableType with UnmodifiedType with Named with Product with Serializable

    Permalink

    Defines a GraphQL scalar value type.

    Defines a GraphQL scalar value type.

    coerceOutput is allowed to return following scala values:

    • String
    • Boolean
    • Int
    • Long
    • Float
    • Double
    • scala.BigInt
    • scala.BigDecimal
    • sangria.ast.Value (it would be converted to raw scala value before given to a marshalling API)

    It may also return other values as well as long as underlying marshalling library supports them.

    You can provide additional meta-information to marshalling API with scalarInfo.

  67. 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) extends Product with Serializable

    Permalink
  68. sealed trait SchemaChange extends AnyRef

    Permalink
  69. case class SchemaMaterializationException(message: String, cause: Throwable = null) extends Exception with Product with Serializable

    Permalink
  70. case class SchemaValidationException(violations: List[Violation]) extends IllegalArgumentException with Product with Serializable

    Permalink
  71. trait SchemaValidationRule extends AnyRef

    Permalink
  72. case class SequenceLeafAction[Ctx, Val](value: Seq[LeafAction[Ctx, Val]]) extends LeafAction[Ctx, Seq[Val]] with Product with Serializable

    Permalink
  73. class SubscriptionFieldsValidationRule extends SchemaValidationRule

    Permalink
  74. case class TryValue[Ctx, Val](value: Try[Val]) extends LeafAction[Ctx, Val] with ReduceAction[Ctx, Val] with Product with Serializable

    Permalink
  75. sealed trait Type extends AnyRef

    Permalink
  76. case class UnionType[Ctx](name: String, description: Option[String] = None, types: List[ObjectType[Ctx, _]], astDirectives: Vector[ast.Directive] = Vector.empty) extends OutputType[Any] with CompositeType[Any] with AbstractType with NullableType with UnmodifiedType with Product with Serializable

    Permalink
  77. sealed trait UnmodifiedType extends AnyRef

    Permalink
  78. class UpdateCtx[Ctx, Val] extends Action[Ctx, Val]

    Permalink
  79. trait ValidOutType[-Res, +Out] extends AnyRef

    Permalink
    Annotations
    @implicitNotFound( ... )
  80. case class Value[Ctx, Val](value: Val) extends LeafAction[Ctx, Val] with ReduceAction[Ctx, Val] with Product with Serializable

    Permalink
  81. trait WithArguments extends AnyRef

    Permalink
  82. trait WithInputTypeRendering[Ctx] extends AnyRef

    Permalink
  83. trait WithoutInputTypeTags[T] extends AnyRef

    Permalink
  84. trait WithoutInputTypeTagsLowPrio extends AnyRef

    Permalink

Value Members

  1. object Action extends LowPrioActions

    Permalink
  2. object Args extends Serializable

    Permalink
  3. object Argument extends Serializable

    Permalink
  4. object ArgumentType extends ArgumentTypeLowPrio

    Permalink
  5. object AstSchemaBuilder

    Permalink
  6. object AstSchemaMaterializer

    Permalink
  7. implicit val BigDecimalType: ScalarType[BigDecimal]

    Permalink
  8. implicit val BigIntType: ScalarType[BigInt]

    Permalink
  9. implicit val BooleanType: ScalarType[Boolean]

    Permalink
  10. val BuiltinDirectives: List[Directive]

    Permalink
  11. val BuiltinDirectivesByName: Map[String, Directive]

    Permalink
  12. val BuiltinScalars: List[ScalarType[_]]

    Permalink
  13. val BuiltinScalarsByName: Map[String, ScalarType[_]]

    Permalink
  14. val DefaultDeprecationReason: String

    Permalink
  15. object DefaultIntrospectionSchemaBuilder

    Permalink
  16. object DefaultValueParser extends Serializable

    Permalink
  17. object DefaultValueRenderer

    Permalink
  18. val DeprecatedDirective: Directive

    Permalink
  19. object DirectiveLocation extends Enumeration

    Permalink
  20. object Field extends Serializable

    Permalink
  21. implicit val FloatType: ScalarType[Double]

    Permalink
  22. val IDType: ScalarType[String]

    Permalink
  23. val IfArg: Argument[Boolean]

    Permalink
  24. val IncludeDirective: Directive

    Permalink
  25. object InputField extends Serializable

    Permalink
  26. object InputObjectDefaultResult extends InputObjectDefaultResultLowPrio

    Permalink
  27. object InputObjectType extends Serializable

    Permalink
  28. implicit val IntType: ScalarType[Int]

    Permalink
  29. object InterfaceType extends Serializable

    Permalink
  30. object IntrospectionSchemaBuilder

    Permalink
  31. object IntrospectionSchemaMaterializer

    Permalink
  32. object LeafAction

    Permalink
  33. implicit val LongType: ScalarType[Long]

    Permalink
  34. object Named

    Permalink
  35. object ObjectType extends Serializable

    Permalink
  36. object PossibleInterface extends PossibleInterfaceLowPrioImplicits with Serializable

    Permalink
  37. object PossibleObject extends Serializable

    Permalink
  38. object PossibleType

    Permalink
  39. object ProjectionExclude extends FieldTag with Product with Serializable

    Permalink
  40. object Projector

    Permalink
  41. val ReasonArg: Argument[String]

    Permalink
  42. object ReduceAction

    Permalink
  43. object Schema extends Serializable

    Permalink
  44. object SchemaChange

    Permalink
  45. object SchemaComparator

    Permalink
  46. object SchemaValidationRule

    Permalink
  47. val SkipDirective: Directive

    Permalink
  48. implicit val StringType: ScalarType[String]

    Permalink
  49. object UpdateCtx

    Permalink
  50. object ValidOutType

    Permalink
  51. object WithoutInputTypeTags extends WithoutInputTypeTagsLowPrio

    Permalink
  52. def fields[Ctx, Val](fields: Field[Ctx, Val]*): List[Field[Ctx, Val]]

    Permalink
  53. def interfaces[Ctx, Concrete](interfaces: PossibleInterface[Ctx, Concrete]*): List[PossibleInterface[Ctx, Concrete]]

    Permalink
  54. def possibleTypes[Ctx, Abstract](objectTypes: PossibleObject[Ctx, Abstract]*): List[PossibleObject[Ctx, Abstract]]

    Permalink
  55. def valueOutput[T](value: T, capabilities: Set[MarshallerCapability]): T

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped