{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/2929","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/2929/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/2929/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/2929/events","html_url":"https://github.com/realm/realm-cocoa/issues/2929","id":120082364,"number":2929,"title":"Provide a tool to validate that Object properties are declared correctly","user":{"login":"bdash","id":54825,"avatar_url":"https://avatars.githubusercontent.com/u/54825?v=3","gravatar_id":"","url":"https://api.github.com/users/bdash","html_url":"https://github.com/bdash","followers_url":"https://api.github.com/users/bdash/followers","following_url":"https://api.github.com/users/bdash/following{/other_user}","gists_url":"https://api.github.com/users/bdash/gists{/gist_id}","starred_url":"https://api.github.com/users/bdash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdash/subscriptions","organizations_url":"https://api.github.com/users/bdash/orgs","repos_url":"https://api.github.com/users/bdash/repos","events_url":"https://api.github.com/users/bdash/events{/privacy}","received_events_url":"https://api.github.com/users/bdash/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/S:Idea%20Backlog","name":"S:Idea Backlog","color":"dedede"},{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/swift","name":"swift","color":"d0c0f9"},{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/T:Enhancement","name":"T:Enhancement","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"mrackwitz","id":1389011,"avatar_url":"https://avatars.githubusercontent.com/u/1389011?v=3","gravatar_id":"","url":"https://api.github.com/users/mrackwitz","html_url":"https://github.com/mrackwitz","followers_url":"https://api.github.com/users/mrackwitz/followers","following_url":"https://api.github.com/users/mrackwitz/following{/other_user}","gists_url":"https://api.github.com/users/mrackwitz/gists{/gist_id}","starred_url":"https://api.github.com/users/mrackwitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrackwitz/subscriptions","organizations_url":"https://api.github.com/users/mrackwitz/orgs","repos_url":"https://api.github.com/users/mrackwitz/repos","events_url":"https://api.github.com/users/mrackwitz/events{/privacy}","received_events_url":"https://api.github.com/users/mrackwitz/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-12-03T02:39:24Z","updated_at":"2016-05-31T16:45:35Z","closed_at":null,"body":"We have requirements on how persisted Object properties are declared. `Optional` and `List` properties should be declared as `let` rather than `var`, and other properties must be declared as `dynamic`. While it's not currently possible for Realm to detect this at runtime, it should be possible to build a tool on top of SourceKitten that a user could run to catch these problems. Such a tool could be a useful first troubleshooting step for users experiencing unexpected behavior."},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/222748182","html_url":"https://github.com/realm/realm-cocoa/issues/2929#issuecomment-222748182","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/2929","id":222748182,"user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T16:45:35Z","updated_at":"2016-05-31T16:45:35Z","body":"I tried doing this in SwiftLint and now regret that I called this problem \"trivial\" 😬. See realm/SwiftLint#245 for my attempt."}}
{"actor":{"display_login":"jpsim"}}