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
This is probably a weird edge case, but moshi-sealed doesn't like this setup:
moshi-sealed
@JsonClass(generateAdapter = true, generator = "sealed:type") sealed interface Foo { @NestedSealed sealed interface SuperFoo : Foo @TypeLabel("real") data class RealFoo(…) : SuperFoo, Foo }
Duplicate label 'real' defined for com.example.package.Foo.RealFoo and com.example.package.Foo.RealFoo.
The text was updated successfully, but these errors were encountered:
Check for same subtypes before erroring on duplicate labels
0f89593
Resolves #507
Check for same subtypes before erroring on duplicate labels (#602)
835513e
Successfully merging a pull request may close this issue.
This is probably a weird edge case, but
moshi-sealed
doesn't like this setup:The text was updated successfully, but these errors were encountered: