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 Serializabletrait Producttrait Equalstrait UnmodifiedTypetrait NullableTypetrait LeafTypetrait HasAstInfotrait Namedtrait HasDescriptiontrait OutputType[T]trait Typeclass Objecttrait Matchableclass Any