{"action":"created","issue":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/399","labels_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/399/comments","events_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/399/events","html_url":"https://github.com/samselikoff/ember-cli-mirage/pull/399","id":117893139,"number":399,"title":"Check if relationship exists before trying to persist","user":{"login":"tim-evans","id":177701,"avatar_url":"https://avatars.githubusercontent.com/u/177701?v=3","gravatar_id":"","url":"https://api.github.com/users/tim-evans","html_url":"https://github.com/tim-evans","followers_url":"https://api.github.com/users/tim-evans/followers","following_url":"https://api.github.com/users/tim-evans/following{/other_user}","gists_url":"https://api.github.com/users/tim-evans/gists{/gist_id}","starred_url":"https://api.github.com/users/tim-evans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tim-evans/subscriptions","organizations_url":"https://api.github.com/users/tim-evans/orgs","repos_url":"https://api.github.com/users/tim-evans/repos","events_url":"https://api.github.com/users/tim-evans/events{/privacy}","received_events_url":"https://api.github.com/users/tim-evans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-19T19:47:18Z","updated_at":"2015-11-21T20:11:16Z","closed_at":"2015-11-21T20:11:12Z","pull_request":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/399","html_url":"https://github.com/samselikoff/ember-cli-mirage/pull/399","diff_url":"https://github.com/samselikoff/ember-cli-mirage/pull/399.diff","patch_url":"https://github.com/samselikoff/ember-cli-mirage/pull/399.patch"},"body":"When saving a model with a `null` relationship, mirage throws an error. This allows nullable relationships using `Mirage.Model`. I'm not sure how to test this change."},"comment":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/comments/158678303","html_url":"https://github.com/samselikoff/ember-cli-mirage/pull/399#issuecomment-158678303","issue_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/399","id":158678303,"user":{"login":"samselikoff","id":2922250,"avatar_url":"https://avatars.githubusercontent.com/u/2922250?v=3","gravatar_id":"","url":"https://api.github.com/users/samselikoff","html_url":"https://github.com/samselikoff","followers_url":"https://api.github.com/users/samselikoff/followers","following_url":"https://api.github.com/users/samselikoff/following{/other_user}","gists_url":"https://api.github.com/users/samselikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/samselikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samselikoff/subscriptions","organizations_url":"https://api.github.com/users/samselikoff/orgs","repos_url":"https://api.github.com/users/samselikoff/repos","events_url":"https://api.github.com/users/samselikoff/events{/privacy}","received_events_url":"https://api.github.com/users/samselikoff/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T20:11:16Z","updated_at":"2015-11-21T20:11:16Z","body":"thank you!"}}