Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

Automatically deriving decoders for enums #65

Open
BenFradet opened this issue Jul 27, 2017 · 0 comments
Open

Automatically deriving decoders for enums #65

BenFradet opened this issue Jul 27, 2017 · 0 comments

Comments

@BenFradet
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant