Union
org.finos.morphir.datamodel.Data$.Union
A instance of a non-discrimiated union-type such as a Scala 3
type MyUnion = Int | String
Would be defined as
Union(Schema.Int, Schema.String)
A value of it would defined as:
Data.Union(Data.Int(123), Union(Schema.Int, Schema.String))
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article