Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove object from backing context if it has been removed from Parse #26

Open
sbonami opened this issue Dec 31, 2013 · 0 comments
Open

Comments

@sbonami
Copy link
Owner

sbonami commented Dec 31, 2013

Objects may be removed from other clients, therefore PFIS should remove objects from the local backing store if it cannot be found during a subsequent fetch. Otherwise, inconsistencies ensue and we have a client out of sync with Parse.

A few things need to be kept in mind:

  • Some queries are allowed to return no objects, so only delete objects in instances where they have actually been removed.
  • Make sure we don't delete objects that have been returned and are in the midst of being displayed to/used by the user; this would be BAD. Potential remedy: send an NSNotification if an object gets deleted after it has been fetched)
@sbonami sbonami removed this from the 0.2.1 milestone Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant