-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit refactors relationship handling code. It adds full support for loading relationships described on only one side in the api. It sets up the infrastructure for separting server vs local updates to relationships. In a future PR, we will use that infrastructure to add support for rollback, relationship dirtying and relationship merging. Lots of old, crappy code, removed, -550 lines before new tests. Pushing records into the store is now 15-20% faster. Relationships now properly refetch if the links value is updated. We no longer churn records that are not changed in a hasMany push. fixes #1919 fixes #1814 fixes #2057 fixes #2191 fixes #2177 fixes #2125 fixes #2100 fixes #1790 fixes #1532 fixes #1389
- Loading branch information
Showing
28 changed files
with
1,420 additions
and
1,206 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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.