Deriver

org.finos.morphir.datamodel.Deriver$
See theDeriver companion trait
object Deriver

Attributes

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

Members list

Type members

Classlikes

object UnionType

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
UnionType.type
sealed trait UnionType

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Enum.type
object SealedTrait.type
object Sum.type

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 gen[T]: Deriver[T]
inline def toData[T](value: T): Data