-
-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create ingredient on element collection
In the element editor with have a feature that creates ingredients that are defined but not created yet. Before we removed the abstract class from Ingredient we needed to create the ingredient on the class instead of the collection. Since the collection is eager loaded it has to be updated with the newly created ingredient in order to prevent the ingredient to be created twice (leading to unique index violation errors).
- Loading branch information
Showing
2 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters