Open BenFradet opened 7 years ago
Right now to make it work, I have to write:
decoder1.fromString("""someString = hello
shape { none {} }""")
// res0: Either[classy.DecodeError,MyConfig] = Right(MyConfig(hello,None))
Seems like an issue with implicit ordering because Option is being treated as a coproduct, afaict.
This seems like an oversight on my part. I can take a peek at a fix soon.
If you have pointers, I'd be happy to help 👍
If we go back to the example in the readme, I'd like to be able to do: