You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deleting a To-One relationship in CoreData by setting the relationship field to nil, Simperium shows to delete this field from storage (it is not showing up anymore in the Simperium web data browser). This is ok however I do not seem to receive a change event on the Backbone model in JS to update this attribute.
When subsequently I change another attribute of this object in JS, Simperium backend not only sees the updated attribute but also the relationship attribute sent by JS (which it had deleted before), and will re-establish it on the server with the 'old' value sent by JS. Then the sync with IOS will overwrite the 'nil' relationship.
How can I update a To-One relationship to 'no relationship' in CoreData and have them correctly updated in JS-Backbone?