Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge data into existing belongsToMany associations.
When creating a new entity that is linked to existing belongsToMany records, we should merge request data into the existing entities. Failing to do so makes it hard to create a new record, link it to an existing record and update the existing record and its associations at the same time. Refs #8082
- Loading branch information
Showing
2 changed files
with
48 additions
and
5 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