ScalarAlias

sangria.schema.ScalarAlias
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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait LeafType
trait Named
trait OutputType[T]
trait InputType[T @@ CoercedScalaResult]
trait Type
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Definition Classes
override def astNodes: Vector[AstNode]

Attributes

Definition Classes

A description of this schema element that can be presented to clients of the GraphQL service.

A description of this schema element that can be presented to clients of the GraphQL service.

Attributes

def rename(newName: String): ScalarAlias.this.type

Inherited methods

Attributes

Inherited from:
InputType

Attributes

Inherited from:
Type

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

lazy val isList: Boolean

Attributes

Inherited from:
InputType
lazy val isNamed: Boolean

Attributes

Inherited from:
InputType

Attributes

Inherited from:
InputType

Attributes

Inherited from:
InputType