Open sake92 opened 1 year ago
It is useful to disambiguate between "singleton cases"/simple enums and ADTs.
My concrete use case was JSON serialization:
@type
Implementation-wise, the official docs say that only "singleton cases" enums will have a values method.
values
Thanks - this isn't binary-compatible, but there's a scala3-v2 branch that can accept these changes :)
scala3-v2
Thanks @adamw ! Do those artifacts get published too?
Not yet - but we'll get there eventually :)
It is useful to disambiguate between "singleton cases"/simple enums and ADTs.
My concrete use case was JSON serialization:
@type
field, and other fields if they have themImplementation-wise, the official docs say that only "singleton cases" enums will have a
values
method.