Class

sangria.schema

ScalarType

Related Doc: package schema

Permalink

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]) extends InputType[T] with OutputType[T] with LeafType with NullableType with UnmodifiedType with Named with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Named, UnmodifiedType, NullableType, LeafType, OutputType[T], InputType[T], Type, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalarType
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Named
  7. UnmodifiedType
  8. NullableType
  9. LeafType
  10. OutputType
  11. InputType
  12. Type
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalarType(name: String, description: Option[String] = None, coerceUserInput: (Any) ⇒ Either[Violation, T], coerceOutput: (T) ⇒ ast.Value, coerceInput: (ast.Value) ⇒ Either[Violation, T])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val coerceInput: (ast.Value) ⇒ Either[Violation, T]

    Permalink
  7. val coerceOutput: (T) ⇒ ast.Value

    Permalink
  8. val coerceUserInput: (Any) ⇒ Either[Violation, T]

    Permalink
  9. val description: Option[String]

    Permalink
    Definition Classes
    ScalarTypeNamed
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val name: String

    Permalink
    Definition Classes
    ScalarTypeNamed
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Named

Inherited from UnmodifiedType

Inherited from NullableType

Inherited from LeafType

Inherited from OutputType[T]

Inherited from InputType[T]

Inherited from Type

Inherited from AnyRef

Inherited from Any

Ungrouped