{"action":"closed","issue":{"url":"https://api.github.com/repos/mutualmobile/MMRecord/issues/98","labels_url":"https://api.github.com/repos/mutualmobile/MMRecord/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/mutualmobile/MMRecord/issues/98/comments","events_url":"https://api.github.com/repos/mutualmobile/MMRecord/issues/98/events","html_url":"https://github.com/mutualmobile/MMRecord/issues/98","id":43727524,"number":98,"title":"Question: Update that \"deletes\" a relationship expected behavior","user":{"login":"alexmalek","id":150215,"avatar_url":"https://avatars.githubusercontent.com/u/150215?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmalek","html_url":"https://github.com/alexmalek","followers_url":"https://api.github.com/users/alexmalek/followers","following_url":"https://api.github.com/users/alexmalek/following{/other_user}","gists_url":"https://api.github.com/users/alexmalek/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmalek/subscriptions","organizations_url":"https://api.github.com/users/alexmalek/orgs","repos_url":"https://api.github.com/users/alexmalek/repos","events_url":"https://api.github.com/users/alexmalek/events{/privacy}","received_events_url":"https://api.github.com/users/alexmalek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-24T07:20:09Z","updated_at":"2016-01-18T23:41:34Z","closed_at":"2016-01-18T23:41:34Z","body":"We have a scenario where a request returns data for an existing object, and sets to null one of the existing valid relationships. In our case, it's possible to have a User object with a nested \"Office Information\" object. In certain cases, that nested object becomes null - meaning the User no longer has an Office. The behavior we are seeing is that the existing relationship is unaffected by the new response (with the null OfficeInfo). Is that the expected behavior? Do we need to manually delete that relationship? Thanks, alex"}}