{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/4031","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4031/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4031/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4031/events","html_url":"https://github.com/realm/realm-cocoa/pull/4031","id":174353637,"number":4031,"title":"Throw when `deleteRealmIfMigrationNeeded` and `readOnly` are both set","user":{"login":"JadenGeller","id":4544152,"avatar_url":"https://avatars.githubusercontent.com/u/4544152?v=3","gravatar_id":"","url":"https://api.github.com/users/JadenGeller","html_url":"https://github.com/JadenGeller","followers_url":"https://api.github.com/users/JadenGeller/followers","following_url":"https://api.github.com/users/JadenGeller/following{/other_user}","gists_url":"https://api.github.com/users/JadenGeller/gists{/gist_id}","starred_url":"https://api.github.com/users/JadenGeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JadenGeller/subscriptions","organizations_url":"https://api.github.com/users/JadenGeller/orgs","repos_url":"https://api.github.com/users/JadenGeller/repos","events_url":"https://api.github.com/users/JadenGeller/events{/privacy}","received_events_url":"https://api.github.com/users/JadenGeller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/S:Review","name":"S:Review","color":"ededed"},{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/T:Enhancement","name":"T:Enhancement","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"JadenGeller","id":4544152,"avatar_url":"https://avatars.githubusercontent.com/u/4544152?v=3","gravatar_id":"","url":"https://api.github.com/users/JadenGeller","html_url":"https://github.com/JadenGeller","followers_url":"https://api.github.com/users/JadenGeller/followers","following_url":"https://api.github.com/users/JadenGeller/following{/other_user}","gists_url":"https://api.github.com/users/JadenGeller/gists{/gist_id}","starred_url":"https://api.github.com/users/JadenGeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JadenGeller/subscriptions","organizations_url":"https://api.github.com/users/JadenGeller/orgs","repos_url":"https://api.github.com/users/JadenGeller/repos","events_url":"https://api.github.com/users/JadenGeller/events{/privacy}","received_events_url":"https://api.github.com/users/JadenGeller/received_events","type":"User","site_admin":false},"assignees":[{"login":"JadenGeller","id":4544152,"avatar_url":"https://avatars.githubusercontent.com/u/4544152?v=3","gravatar_id":"","url":"https://api.github.com/users/JadenGeller","html_url":"https://github.com/JadenGeller","followers_url":"https://api.github.com/users/JadenGeller/followers","following_url":"https://api.github.com/users/JadenGeller/following{/other_user}","gists_url":"https://api.github.com/users/JadenGeller/gists{/gist_id}","starred_url":"https://api.github.com/users/JadenGeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JadenGeller/subscriptions","organizations_url":"https://api.github.com/users/JadenGeller/orgs","repos_url":"https://api.github.com/users/JadenGeller/repos","events_url":"https://api.github.com/users/JadenGeller/events{/privacy}","received_events_url":"https://api.github.com/users/JadenGeller/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-08-31T19:09:34Z","updated_at":"2016-09-01T22:55:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/realm/realm-cocoa/pulls/4031","html_url":"https://github.com/realm/realm-cocoa/pull/4031","diff_url":"https://github.com/realm/realm-cocoa/pull/4031.diff","patch_url":"https://github.com/realm/realm-cocoa/pull/4031.patch"},"body":"Fixes https://github.com/realm/realm-cocoa/issues/3940.\r\n\r\nNote that this doesn't yet any changes to Swift's configuration, but a similar exception will be thrown when a `Realm.Configuration` is converted internally to an `RLMRealmConfiguration`. It does seem weird to throw exceptions on property set in Objective-C but when creating a `Realm` in Swift. I would appreciate feedback on how to make this more consistent (which way is better). @bdash "},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/244236973","html_url":"https://github.com/realm/realm-cocoa/pull/4031#issuecomment-244236973","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4031","id":244236973,"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},"created_at":"2016-09-01T22:55:17Z","updated_at":"2016-09-01T22:55:17Z","body":"👍 "}}
{"actor":{"display_login":"bdash"}}