Deriver

org.finos.morphir.datamodel.Deriver
See theDeriver companion trait
object Deriver extends DeriverInstances

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Deriver.type

Members list

Value members

Concrete methods

inline def deriveProductFields[Fields <: Tuple, Elems <: Tuple](i: Int): List[ProductBuilderField]

Not possible to check variants in pattern-match here. Setting them as widest possible type.

Not possible to check variants in pattern-match here. Setting them as widest possible type.

Attributes

inline def deriveProductFromMirror[T](m: ProductOf[T]): GenericProductDeriver[T & Product]
inline def deriveSumFromMirror[T](m: SumOf[T]): GenericSumDeriver[T]
inline def derived[T]: Deriver[T]
inline def gen[T]: Deriver[T]
inline def toData[T](value: T): Data

Implicits

Inherited implicits

implicit val bigDecimalDeriver: CustomDeriver[BigDecimal]

Attributes

Inherited from:
DeriverInstances
implicit val bigIntDeriver: CustomDeriver[BigInt]

Attributes

Inherited from:
DeriverInstances
implicit val booleanDeriver: CustomDeriver[Boolean]

Attributes

Inherited from:
DeriverInstances
implicit val byteDeriver: CustomDeriver[Byte]

Attributes

Inherited from:
DeriverInstances
implicit val charDeriver: CustomDeriver[Char]

Attributes

Inherited from:
DeriverInstances
implicit val doubleDeriver: CustomDeriver[Double]

Attributes

Inherited from:
DeriverInstances
implicit def eitherDeriver[L, R](implicit leftDeriver: Deriver[L], rightDeriver: Deriver[R]): CustomDeriver[Either[L, R]]

Attributes

Inherited from:
DeriverInstances
implicit val floatDeriver: CustomDeriver[Float]

Attributes

Inherited from:
DeriverInstances
implicit val intDeriver: CustomDeriver[Int]

Attributes

Inherited from:
DeriverInstances
implicit def leftDeriver[L](implicit leftDeriver: Deriver[L]): CustomDeriver[Left[L, Nothing]]

Attributes

Inherited from:
DeriverInstances
implicit def leftDeriver[L, R](implicit leftDeriver: Deriver[L], rightDeriver: Deriver[R]): CustomDeriver[Left[L, R]]

Attributes

Inherited from:
DeriverInstances
implicit def linkedMapDeriver[K, V](implicit keyDeriver: Deriver[K], valueDeriver: Deriver[V]): CustomDeriver[LinkedHashMap[K, V]]

Attributes

Inherited from:
DeriverInstances
implicit def listDeriver[T](implicit elementDeriver: Deriver[T]): CustomDeriver[List[T]]

Attributes

Inherited from:
DeriverInstances
implicit def listMapDeriver[K, V](implicit keyDeriver: Deriver[K], valueDeriver: Deriver[V]): CustomDeriver[ListMap[K, V]]

Attributes

Inherited from:
DeriverInstances
implicit val localDateDeriver: CustomDeriver[LocalDate]

Attributes

Inherited from:
DeriverInstances
implicit val localTimeDeriver: CustomDeriver[LocalTime]

Attributes

Inherited from:
DeriverInstances
implicit val longDeriver: CustomDeriver[Long]

Attributes

Inherited from:
DeriverInstances
implicit def mapDeriver[K, V](implicit keyDeriver: Deriver[K], valueDeriver: Deriver[V]): CustomDeriver[Map[K, V]]

Attributes

Inherited from:
DeriverInstances
implicit val monthDeriver: CustomDeriver[Month]

Attributes

Inherited from:
DeriverInstances
implicit def optionDeriver[T](implicit elementDeriver: Deriver[T]): CustomDeriver[Option[T]]

Attributes

Inherited from:
DeriverInstances
implicit val optionNoneDeriver: CustomDeriver[None.type]

Attributes

Inherited from:
DeriverInstances
implicit def optionSomeDeriver[T](implicit elementDeriver: Deriver[T]): CustomDeriver[Some[T]]

Attributes

Inherited from:
DeriverInstances
implicit def rightDeriver[L, R](implicit leftDeriver: Deriver[L], rightDeriver: Deriver[R]): CustomDeriver[Right[L, R]]

Attributes

Inherited from:
DeriverInstances
implicit val shortDeriver: CustomDeriver[Short]

Attributes

Inherited from:
DeriverInstances
implicit val stringDeriver: CustomDeriver[String]

Attributes

Inherited from:
DeriverInstances
implicit val unitDeriver: CustomDeriver[Unit]

Attributes

Inherited from:
DeriverInstances