Is your feature request related to a problem? Please describe.
The product.product field represents the name of a product within the context of an ingredient description.
To put that another way, the abstract product tomato may appear variously as tomato or tomatoes in ingredient descriptions.
Currently this value is stored in a field called product in the products table, which leads to strange-looking code that refers to `product.product
Describe the solution you'd like
This field should be renamed to name, since it is a local name for an abstract product.
This will require upstream changes to endpoints in the api service.
Is your feature request related to a problem? Please describe. The
product.product
field represents the name of a product within the context of an ingredient description.To put that another way, the abstract product
tomato
may appear variously astomato
ortomatoes
in ingredient descriptions.Currently this value is stored in a field called
product
in theproducts
table, which leads to strange-looking code that refers to `product.productDescribe the solution you'd like This field should be renamed to
name
, since it is a local name for an abstract product.This will require upstream changes to endpoints in the
api
service.