Complications from enforcing recipe uniqueness:
You try to create new blend. You create new recipe, but get "Recipe already exists". Turns out some other blend uses similar recipe but you don't want to rely on that recipe as it could get deleted by the owner of that other blend? So it probably makes sense to allow identical recipes.
initrecipe
for more efficient matching recipe search when blendinginitrecipe
- implemented but disabled for now. Can be enabled here: https://github.com/dotGems/gems.blend/blob/recipe-cleanup/blend.gems.cpp#L168-L170Complications from enforcing recipe uniqueness: You try to create new blend. You create new recipe, but get "Recipe already exists". Turns out some other blend uses similar recipe but you don't want to rely on that recipe as it could get deleted by the owner of that other blend? So it probably makes sense to allow identical recipes.