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. case class NonUniqueFieldsError(typeName: String, fieldNames: Vector[String]) extends IllegalArgumentException with Product with Serializable

    Permalink
  50. sealed trait NullableType extends AnyRef

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

    Permalink
  52. 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
  53. case class OptionInputType[T](ofType: InputType[T]) extends InputType[Option[T]] with Product with Serializable

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

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

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

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

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

    Permalink
  59. trait PossibleInterfaceLowPrioImplicits extends AnyRef

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

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

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

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

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

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

    Permalink
  66. 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
  67. 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.

  68. 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
  69. sealed trait SchemaChange extends AnyRef

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

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

    Permalink
  72. trait SchemaValidationRule extends AnyRef

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

    Permalink
  74. class SubscriptionFieldsValidationRule extends SchemaValidationRule

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

    Permalink
  76. sealed trait Type extends AnyRef

    Permalink
  77. 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
  78. sealed trait UnmodifiedType extends AnyRef

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

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

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

    Permalink
  82. trait WithArguments extends AnyRef

    Permalink
  83. trait WithInputTypeRendering[Ctx] extends AnyRef

    Permalink
  84. trait WithoutInputTypeTags[T] extends AnyRef

    Permalink
  85. 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 BuiltinGraphQLScalars: List[ScalarType[_]]

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

    Permalink
  14. val BuiltinSangriaScalars: List[ScalarType[_]]

    Permalink
  15. val BuiltinSangriaScalarsByName: Map[String, ScalarType[_]]

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

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

    Permalink
  18. val DefaultDeprecationReason: String

    Permalink
  19. object DefaultIntrospectionSchemaBuilder

    Permalink
  20. object DefaultValueParser extends Serializable

    Permalink
  21. object DefaultValueRenderer

    Permalink
  22. val DeprecatedDirective: Directive

    Permalink
  23. object DirectiveLocation extends Enumeration

    Permalink
  24. object Field extends Serializable

    Permalink
  25. implicit val FloatType: ScalarType[Double]

    Permalink
  26. val IDType: ScalarType[String]

    Permalink
  27. val IfArg: Argument[Boolean]

    Permalink
  28. val IncludeDirective: Directive

    Permalink
  29. object InputField extends Serializable

    Permalink
  30. object InputObjectDefaultResult extends InputObjectDefaultResultLowPrio

    Permalink
  31. object InputObjectType extends Serializable

    Permalink
  32. implicit val IntType: ScalarType[Int]

    Permalink
  33. object InterfaceType extends Serializable

    Permalink
  34. object IntrospectionSchemaBuilder

    Permalink
  35. object IntrospectionSchemaMaterializer

    Permalink
  36. object LeafAction

    Permalink
  37. implicit val LongType: ScalarType[Long]

    Permalink
  38. object Named

    Permalink
  39. object ObjectType extends Serializable

    Permalink
  40. object PossibleInterface extends PossibleInterfaceLowPrioImplicits with Serializable

    Permalink
  41. object PossibleObject extends Serializable

    Permalink
  42. object PossibleType

    Permalink
  43. object ProjectionExclude extends FieldTag with Product with Serializable

    Permalink
  44. object Projector

    Permalink
  45. val ReasonArg: Argument[String]

    Permalink
  46. object ReduceAction

    Permalink
  47. object Schema extends Serializable

    Permalink
  48. object SchemaChange

    Permalink
  49. object SchemaComparator

    Permalink
  50. object SchemaValidationRule

    Permalink
  51. val SkipDirective: Directive

    Permalink
  52. implicit val StringType: ScalarType[String]

    Permalink
  53. object UpdateCtx

    Permalink
  54. object ValidOutType

    Permalink
  55. object WithoutInputTypeTags extends WithoutInputTypeTagsLowPrio

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

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

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped