Skip to content

fix: add moshi rules to prevent adapters failing in minified build

Codecov / codecov/patch succeeded Sep 6, 2024 in 1s

63.15% of diff hit (target 50.00%)

View this Pull Request on Codecov

63.15% of diff hit (target 50.00%)

Annotations

Check warning on line 14 in embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt#L14

Added line #L14 was not covered by tests

Check warning on line 26 in embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt#L26

Added line #L26 was not covered by tests

Check warning on line 30 in embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt#L30

Added line #L30 was not covered by tests

Check warning on line 38 in embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt#L38

Added line #L38 was not covered by tests

Check warning on line 42 in embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt#L42

Added line #L42 was not covered by tests

Check warning on line 46 in embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt#L46

Added line #L46 was not covered by tests

Check warning on line 53 in embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/serialization/DecoratedSerializer.kt#L53

Added line #L53 was not covered by tests