Skip to content

Commit

Permalink
ECWID-127118 added the productCountWithoutSubcategories response fiel…
Browse files Browse the repository at this point in the history
…d to the search categories endpoint
  • Loading branch information
zenon-ecwid committed Sep 21, 2023
1 parent 2dada82 commit f5688ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ data class FetchedCategory(
val originalImage: PictureInfo? = null,
val url: String? = null,
val productCount: Int? = null,
val productCountWithoutSubcategories: Int? = null,
val enabledProductCount: Int? = null,

val seoTitle: String? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ val nonUpdatablePropertyRules: List<NonUpdatablePropertyRule<*, *>> = listOf(
Ignored(FetchedCategory::originalImage),
Ignored(FetchedCategory::url),
Ignored(FetchedCategory::productCount),
ReadOnly(FetchedCategory::productCountWithoutSubcategories),
Ignored(FetchedCategory::enabledProductCount),

ReadOnly(FetchedCoupon::id),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ val fetchedCategoryNullablePropertyRules: List<NullablePropertyRule<*, *>> = lis
IgnoreNullable(FetchedCategory::productIds),
IgnoreNullable(FetchedCategory::thumbnailUrl),
IgnoreNullable(FetchedCategory::url),
AllowNullable(FetchedCategory::productCountWithoutSubcategories),
AllowNullable(FetchedCategory::seoTitle),
AllowNullable(FetchedCategory::seoTitleTranslated),
AllowNullable(FetchedCategory::seoDescription),
Expand Down

0 comments on commit f5688ca

Please sign in to comment.