clux / food

Food framework for future fulfilment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ingredient with multiple types will clash if used in same recipe

clux opened this issue · comments

case in point pepper:

{
  "type": "coarse ground",
  "types": ["coarse ground", "white"],
  "unit": "g
}

which will result in multiple pepper keys if using both black and white..

either need not having types anywhere, or a solid redesign allowing multiple name keys.

I'm leaning towards having more data control, rather than just thousands of files that are not easy to group. How will it be used in ingredients? Move number into ingredient arguments and allow multiple objects?