{"action":"closed","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/3101","repository_url":"https://api.github.com/repos/realm/realm-java","labels_url":"https://api.github.com/repos/realm/realm-java/issues/3101/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/3101/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/3101/events","html_url":"https://github.com/realm/realm-java/issues/3101","id":163337456,"number":3101,"title":"Align RealmObject.isValid() with Cocoa/.NET","user":{"login":"cmelchior","id":406066,"avatar_url":"https://avatars.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/S:P2%20Backlog","name":"S:P2 Backlog","color":"dedede"},{"url":"https://api.github.com/repos/realm/realm-java/labels/T:Enhancement","name":"T:Enhancement","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"cmelchior","id":406066,"avatar_url":"https://avatars.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false},"assignees":[{"login":"cmelchior","id":406066,"avatar_url":"https://avatars.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/realm/realm-java/milestones/10","html_url":"https://github.com/realm/realm-java/milestones/2.0","labels_url":"https://api.github.com/repos/realm/realm-java/milestones/10/labels","id":1859090,"number":10,"title":"2.0","description":null,"creator":{"login":"cmelchior","id":406066,"avatar_url":"https://avatars.githubusercontent.com/u/406066?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelchior","html_url":"https://github.com/cmelchior","followers_url":"https://api.github.com/users/cmelchior/followers","following_url":"https://api.github.com/users/cmelchior/following{/other_user}","gists_url":"https://api.github.com/users/cmelchior/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelchior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelchior/subscriptions","organizations_url":"https://api.github.com/users/cmelchior/orgs","repos_url":"https://api.github.com/users/cmelchior/repos","events_url":"https://api.github.com/users/cmelchior/events{/privacy}","received_events_url":"https://api.github.com/users/cmelchior/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":2,"state":"open","created_at":"2016-07-01T07:37:40Z","updated_at":"2016-08-25T09:42:09Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-07-01T07:39:52Z","updated_at":"2016-08-25T09:42:09Z","closed_at":"2016-08-25T09:42:09Z","body":"See https://github.com/realm/realm-dotnet/pull/668/files/cf8ba4f0d920f7ca5044a4a1e242ae134f84be28#r69203861\r\n\r\nRight now we return `false` for unmanaged objects, both Cocoa and .NET return `true` in the same case.\r\nThis has the advantage that you can use `isValid()` to determine if you can use the data from the RealmObject.\r\n\r\nJava has some extra considerations though as we also have to consider the loaded state. Right now we return `false` if the object isn't loaded yet. That makes sense to me I think.\r\n\r\nIn any case, any change to these semantics are a breaking change, thus should only be part of 2.0"}}
{"actor":{"display_login":"beeender"}}