Skip to content

Commit 4dfda2e

Browse files
committed
Allowed nullable field 'value'
1 parent f191a7d commit 4dfda2e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/test/kotlin/com/ecwid/apiclient/v3/rule/NullablePropertyRules.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import com.ecwid.apiclient.v3.rule.NullablePropertyRule.AllowNullable
1515
import com.ecwid.apiclient.v3.rule.NullablePropertyRule.IgnoreNullable
1616
import com.ecwid.apiclient.v3.rule.nullablepropertyrules.*
1717
import com.ecwid.apiclient.v3.dto.product.result.FetchedProduct
18+
import com.ecwid.apiclient.v3.dto.storage.result.FetchedStorageData
1819
import kotlin.reflect.KProperty1
1920

2021
val otherNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(
@@ -57,8 +58,9 @@ val otherNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(
5758
AllowNullable(PaymentAppRequest::storeId),
5859
AllowNullable(PaymentAppRequest::token),
5960

60-
IgnoreNullable(ProductInventoryUpdateResult::warning)
61+
IgnoreNullable(ProductInventoryUpdateResult::warning),
6162

63+
AllowNullable(FetchedStorageData::value),
6264
)
6365

6466
val nullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(

0 commit comments

Comments
 (0)