Open williamlamjy opened 2 years ago
We allow all inputs for meals, even without having letters to allow for the user's convenience in typing out any name they wish to use to describe their meal. It is completely up to the user and we do not want to limit the user's ability to describe their meals.
Team chose [response.Rejected
]
Reason for disagreement: This response doesnt make much sense as an empty name is not a meal? And what meal would have no letters? This functionality makes little sense with this justification and I dont think there is much of a justification to be able to add a meal with no name as a valid meal. Instead an error should be handled and thrown here to let the user know that you cannot add an empty meal.
Perhaps throw an exception for name to only have letters?