{"action":"created","issue":{"url":"https://api.github.com/repos/tstojecki/elastic-identity/issues/2","repository_url":"https://api.github.com/repos/tstojecki/elastic-identity","labels_url":"https://api.github.com/repos/tstojecki/elastic-identity/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tstojecki/elastic-identity/issues/2/comments","events_url":"https://api.github.com/repos/tstojecki/elastic-identity/issues/2/events","html_url":"https://github.com/tstojecki/elastic-identity/issues/2","id":142647694,"number":2,"title":"Move the setup index logic out of the Store","user":{"login":"tstojecki","id":1306272,"avatar_url":"https://avatars.githubusercontent.com/u/1306272?v=3","gravatar_id":"","url":"https://api.github.com/users/tstojecki","html_url":"https://github.com/tstojecki","followers_url":"https://api.github.com/users/tstojecki/followers","following_url":"https://api.github.com/users/tstojecki/following{/other_user}","gists_url":"https://api.github.com/users/tstojecki/gists{/gist_id}","starred_url":"https://api.github.com/users/tstojecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstojecki/subscriptions","organizations_url":"https://api.github.com/users/tstojecki/orgs","repos_url":"https://api.github.com/users/tstojecki/repos","events_url":"https://api.github.com/users/tstojecki/events{/privacy}","received_events_url":"https://api.github.com/users/tstojecki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tstojecki/elastic-identity/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-22T13:20:03Z","updated_at":"2016-03-24T10:20:43Z","closed_at":null,"body":"Looking at the other providers (Entity Framework, Mongo) they do not handle DB setup logic inside of the store. I would like to move SetupIndex as well as I don't believe the store is the right place to do that. We can expose a different class in the project to help with that.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tstojecki/elastic-identity/issues/comments/200774539","html_url":"https://github.com/tstojecki/elastic-identity/issues/2#issuecomment-200774539","issue_url":"https://api.github.com/repos/tstojecki/elastic-identity/issues/2","id":200774539,"user":{"login":"tstojecki","id":1306272,"avatar_url":"https://avatars.githubusercontent.com/u/1306272?v=3","gravatar_id":"","url":"https://api.github.com/users/tstojecki","html_url":"https://github.com/tstojecki","followers_url":"https://api.github.com/users/tstojecki/followers","following_url":"https://api.github.com/users/tstojecki/following{/other_user}","gists_url":"https://api.github.com/users/tstojecki/gists{/gist_id}","starred_url":"https://api.github.com/users/tstojecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstojecki/subscriptions","organizations_url":"https://api.github.com/users/tstojecki/orgs","repos_url":"https://api.github.com/users/tstojecki/repos","events_url":"https://api.github.com/users/tstojecki/events{/privacy}","received_events_url":"https://api.github.com/users/tstojecki/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T10:20:43Z","updated_at":"2016-03-24T10:20:43Z","body":"Thanks for the feedback, glad to hear you agree on moving the setup logic out.\r\n\r\nRegarding the lowercase match on the username, I may have missed your point, but I think most of the time the username is case insensitive. If we take the lowercase analyzer out and .ToLower, we would make the findbyusername case sensitive, would we not? I can't think of a login form that requires that."}}