-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling lists in Sync (#2192)
Task/Issue URL: https://app.asana.com/0/0/1205884549503153/f Description: Improve handling of lists in syncable models' payloads (which currently is limited to bookmarks folders and favorites folders children). This change updates how lists are sent to Sync in PATCH payloads by including current state as well as the set of removed and inserted items. To allow for this, last sync payload is kept for all bookmarks folders in lastChildrenPayloadReceivedFromSync property added on BookmarkEntity entity. If the payload is not available (e.g. first sync), the legacy mechanism is used (i.e. sending only the current contents of the list). The schema of a Sync response payload does not change so the implementation handles it too.
- Loading branch information
Showing
5 changed files
with
10 additions
and
19 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 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 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