Closed fractalwrench closed 1 week ago
✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.
Package | Version | Score | Details |
---|
Attention: Patch coverage is 63.15789%
with 7 lines
in your changes missing coverage. Please review.
Project coverage is 82.94%. Comparing base (
2967682
) to head (337be04
).
Files with missing lines | Patch % | Lines |
---|---|---|
...esdk/internal/serialization/DecoratedSerializer.kt | 50.00% | 7 Missing :warning: |
Goal
Moshi requires enums to be annotated to prevent R8/ProGuard from stripping their values. Several enums in our codebase were not annotated in this way, which worked fine until we changed the ProGuard rules to be more specific in #1043.
This change adds the
JsonClass
annotation to enums as recommended.Testing
Manually verified against the
release
build variant of a minified test app that no errors show up in Logcat related to serialization.