Current item model
|
final case class Item( |
|
uuid: ItemId, |
|
name: ItemName, |
|
description: ItemDescription, |
|
price: Money, |
|
brand: Brand, |
|
category: Category |
|
) |
provides redundant fields for listing. I want to request something similar
type ListItem = {
uuid: string;
name: string;
price: Money;
};
Anyway this might be used for detailed view, mentioned here #6 (comment)
Current item model
shopping-cart-backend/app/src/main/scala/org/baklanovsoft/shoppingcart/catalog/model/Item.scala
Lines 10 to 17 in 0f651f0
provides redundant fields for listing. I want to request something similar
Anyway this might be used for detailed view, mentioned here #6 (comment)