Closed dd3053 closed 2 years ago
Hey team! Please add your planning poker estimate with ZenHub @dggjsc @hxwang-463 @mpourostad @yuluqinn
Hi Devesh, I have a doubt about this name attribute: are we assuming the name attribute is not a unique one but could have multiple duplicates? Like a category attribute? In category we have men/women, for name: we are expecting to have T-shirt, sweater, etc instead of a unique name like RELAXED-FIT PRINTED T-SHIRT or PRINTED SARONG? I just refer to a clothing store website so I am asking: https://www.cos.com/en_usd/collaborations.html From my experience I feel like name and ID are both unique. If that is the case, we don't need to list by name. What do you guys think? @dd3053 @hxwang-463 @dggjsc @mpourostad
Nice point.
I made this user story with the assumption that product id's are unique however names can be same.
Additionally in the file factories.py
, name = FuzzyChoice(choices=["shirt", "sweater", "pants", "lounge_wear"])
made me think that names can be same.
I also need the clarification regarding this name
property.
As a Customer I need to search for a product by name
So that I can search for a particular product easily.
Details and Assumptions
The
GET
request to/products?name=<name_string>
will return a collection of products with name asname_string
.Acceptance Criteria