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
@JsonClass
When using R8 we want to keep everything that is used by code gen'd adapters, including all the value of enums referenced.
This works fine if you put @JsonClass on all the enums used in JSON, but it is easy to miss that.
I propose that Moshi code gen issue a warning or and error if any @JsonClass references an enum that is not marked with @JsonClass
The text was updated successfully, but these errors were encountered:
We use lint checks for this at slack, which are a little more configurable. We open sourced our Moshi lints here: GitHub.com/slackhq/slack-lints
Sorry, something went wrong.
No branches or pull requests
When using R8 we want to keep everything that is used by code gen'd adapters, including all the value of enums referenced.
This works fine if you put
@JsonClass
on all the enums used in JSON, but it is easy to miss that.I propose that Moshi code gen issue a warning or and error if any
@JsonClass
references an enum that is not marked with@JsonClass
The text was updated successfully, but these errors were encountered: