Skip to content

Commit 3f6d804

Browse files
committed
Allow nullable for FetchedSwatchColor::translations
1 parent 5e30cd1 commit 3f6d804

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import com.ecwid.apiclient.v3.dto.report.request.ReportRequest
2323
import com.ecwid.apiclient.v3.dto.report.result.FetchedReportAdviceResponse
2424
import com.ecwid.apiclient.v3.dto.report.result.FetchedReportResponse
2525
import com.ecwid.apiclient.v3.dto.storage.result.FetchedStorageData
26+
import com.ecwid.apiclient.v3.dto.swatches.result.FetchedSwatchColor
2627
import com.ecwid.apiclient.v3.dto.variation.request.ProductVariationsRequest
2728
import com.ecwid.apiclient.v3.rule.NullablePropertyRule.AllowNullable
2829
import com.ecwid.apiclient.v3.rule.NullablePropertyRule.IgnoreNullable
@@ -145,6 +146,8 @@ val otherNullablePropertyRules: List<NullablePropertyRule<*, *>> = listOf(
145146

146147
AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalCategoryData::categoryName),
147148

149+
AllowNullable(FetchedSwatchColor::translations),
150+
148151
AllowNullable(CreateBatchRequest::groupId),
149152
AllowNullable(CreateBatchRequestWithIds::groupId),
150153

0 commit comments

Comments
 (0)