Open BenFradet opened 7 years ago
I have the following hierarchy:
sealed trait SomeType case object Type1 extends SomeType case object Type2 extends SomeType case class MyConfig(t: SomeType)
and the following config:
t: type1
I know it's possible with a manual decoder but I wonder if wouldn't be possible with automatically derived decoders?
I have the following hierarchy:
and the following config:
I know it's possible with a manual decoder but I wonder if wouldn't be possible with automatically derived decoders?