woocommerce-android icon indicating copy to clipboard operation
woocommerce-android copied to clipboard

Resolve suppressed `PROPERTY_WONT_BE_SERIALIZED` warning for `RefundByItemsViewState`

Open ParaskP7 opened this issue 2 years ago • 1 comments

This not a bug, but can be potentially leading to a bug. 🤔

As part of #6865 and this 7f6ec8b554a09d755d92a6bb5c7e1dbf28bc4984 commit, the below property and its warning got suppressed with PROPERTY_WONT_BE_SERIALIZED:

val isRefundNoticeVisible = !refundNotice.isNullOrEmpty()

The warning occurs because this property would not be serialized into a Parcel. One would need to add @IgnoredOnParcel annotation to remove the warning or apply another proper solution to it.

ParaskP7 avatar Jul 08 '22 10:07 ParaskP7

Fails
:no_entry_sign: Please add a feature label to this issue. e.g. 'feature: stats'

Generated by :no_entry_sign: dangerJS

peril-woocommerce[bot] avatar Jul 08 '22 10:07 peril-woocommerce[bot]