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
I had a leftover (wrong) @JsonAdapter annotation:
@JsonAdapter
@JsonClass(generateAdapter = true, generator = "sealed:kind") data class MyClass(val prop1: String, val prop2: Int)
The error in this case is:
> Task kspKotlin FAILED e: [ksp] java.lang.IllegalStateException: Must be a sealed class!
It would be nice if the error included the source location where it is.
The text was updated successfully, but these errors were encountered:
Hmm, it should be reporting that. I'll double check
Sorry, something went wrong.
Improve moshi-sealed KSP error messages
6894e05
Resolves #152
Improve moshi-sealed KSP error messages (#601)
7a8ce53
Successfully merging a pull request may close this issue.
I had a leftover (wrong)
@JsonAdapter
annotation:The error in this case is:
It would be nice if the error included the source location where it is.
The text was updated successfully, but these errors were encountered: