{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/1590","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1590/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1590/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1590/events","html_url":"https://github.com/realm/realm-cocoa/pull/1590","id":60561243,"number":1590,"title":"[RLMObjectSchema] +dynamicSchemaForRealm: now respects search indexes","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-10T20:11:54Z","updated_at":"2015-03-10T21:20:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/realm/realm-cocoa/pulls/1590","html_url":"https://github.com/realm/realm-cocoa/pull/1590","diff_url":"https://github.com/realm/realm-cocoa/pull/1590.diff","patch_url":"https://github.com/realm/realm-cocoa/pull/1590.patch"},"body":"/cc @tgoyne @alazier "},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/78150816","html_url":"https://github.com/realm/realm-cocoa/pull/1590#issuecomment-78150816","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1590","id":78150816,"user":{"login":"tgoyne","id":408944,"avatar_url":"https://avatars.githubusercontent.com/u/408944?v=3","gravatar_id":"","url":"https://api.github.com/users/tgoyne","html_url":"https://github.com/tgoyne","followers_url":"https://api.github.com/users/tgoyne/followers","following_url":"https://api.github.com/users/tgoyne/following{/other_user}","gists_url":"https://api.github.com/users/tgoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/tgoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgoyne/subscriptions","organizations_url":"https://api.github.com/users/tgoyne/orgs","repos_url":"https://api.github.com/users/tgoyne/repos","events_url":"https://api.github.com/users/tgoyne/events{/privacy}","received_events_url":"https://api.github.com/users/tgoyne/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T21:20:18Z","updated_at":"2015-03-10T21:20:18Z","body":"Even with the dynamic API I don't really see how it'd be an issue. If they give us an `RLMProperty` with `primary = NO` and `indexed = YES` then it'll stay indexed when we make it not a pk, and if it has `indexed = NO` the index should be removed. I don't think it makes sense to store some metadata that tries to cleverly override what the user tells us to do based on what we think they intended."}}