We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tethys does not derive writer for a sealed hierarchy even when writers for subtypes are explicitly defined
import tethys._ import tethys.jackson._ import tethys.derivation.semiauto._ sealed trait Foo object Foo { object Bar extends Foo class Baz extends Foo } implicit val BarWriter: JsonObjectWriter[Foo.Bar.type] = JsonWriter.obj[Foo.Bar.type] implicit val BazWriter: JsonObjectWriter[Foo.Baz] = JsonWriter.obj[Foo.Baz] implicit val FooWriter: JsonWriter[Foo] = jsonWriter
The text was updated successfully, but these errors were encountered:
#23 fix subclass extraction for sealed structures, add tests for issu…
78a4a55
…e case and up scala version
eld0727
No branches or pull requests
Tethys does not derive writer for a sealed hierarchy even when writers for subtypes are explicitly defined
The text was updated successfully, but these errors were encountered: