zbigniewzolnierowicz / rust-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement diet checks for recipes

zbigniewzolnierowicz opened this issue · comments

When we return a recipe, we want to also list which diets this recipe is good for. We do that by scanning the ingredients list for dietary recommendations.

Currently, we have a lot of ingredients who list every diet - that's inefficient and hard for filtering. It would be easier to simply list which diets a certain ingredient violates.