Skip to content

Commit 070e996

Browse files
author
mvgreen
committed
Allow nullable defaultChoice in FetchedProduct.ProductOption
1 parent 9bdc736 commit 070e996

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ val otherNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(
4141
AllowNullable(FetchedProduct.ShippingPreparationTime::shippingPreparationTimeForInStockItemDays),
4242
AllowNullable(FetchedProduct.ShippingPreparationTime::shippingPreparationTimeForOutOfStockItemDays),
4343
AllowNullable(FetchedProduct.ShippingPreparationTime::localDeliveryPreparationTimeForInStockItemInMinutes),
44+
AllowNullable(FetchedProduct.ProductOption.ChoiceBased::defaultChoice),
4445

4546
IgnoreNullable(ConvertCartToOrderResult::id),
4647
IgnoreNullable(ConvertCartToOrderResult::orderNumber),

0 commit comments

Comments
 (0)