You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This changes the output of generated output, now a set of instantiated annotations are passed to moshi instead of Types.getFieldJsonQualifierAnnotations
Minimal setup to reproduce:
Moshi 1.12.0 + kotlin 1.5.0 + kapt generates proper adapter with the following internal val (full generated adapter attached in zip):
Moshi 1.14.0 + kotlin 1.6.21 + kapt generates adapter with the following internal val (this generated adapter also attached in zip):
Compilation of this code fails with an error "Expecting an element", because "@DecodeTypeTest" was generated instead of "DecodeTypeTest".
generated_adapters_OK_and_FAILED.zip
The text was updated successfully, but these errors were encountered: