Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly marshall _joinData when patching entities.
When patching belongsToMany associations with existing target records, and including _joinData, the joinData should be correctly marshalled. Getting this to work required accepting `accessibleFields` in merge() and mergeMany(). This allows the internals of the marshaller to whitelist _joinData and not rely on the entity having it marked as accessible. Refs #6971
- Loading branch information
Showing
2 changed files
with
100 additions
and
0 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