{"action":"created","issue":{"url":"https://api.github.com/repos/blakehaswell/mongoose-unique-validator/issues/23","labels_url":"https://api.github.com/repos/blakehaswell/mongoose-unique-validator/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/blakehaswell/mongoose-unique-validator/issues/23/comments","events_url":"https://api.github.com/repos/blakehaswell/mongoose-unique-validator/issues/23/events","html_url":"https://github.com/blakehaswell/mongoose-unique-validator/pull/23","id":68909142,"number":23,"title":"Add case Insensitive mode","user":{"login":"Igor-lkm","id":6287367,"avatar_url":"https://avatars.githubusercontent.com/u/6287367?v=3","gravatar_id":"","url":"https://api.github.com/users/Igor-lkm","html_url":"https://github.com/Igor-lkm","followers_url":"https://api.github.com/users/Igor-lkm/followers","following_url":"https://api.github.com/users/Igor-lkm/following{/other_user}","gists_url":"https://api.github.com/users/Igor-lkm/gists{/gist_id}","starred_url":"https://api.github.com/users/Igor-lkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Igor-lkm/subscriptions","organizations_url":"https://api.github.com/users/Igor-lkm/orgs","repos_url":"https://api.github.com/users/Igor-lkm/repos","events_url":"https://api.github.com/users/Igor-lkm/events{/privacy}","received_events_url":"https://api.github.com/users/Igor-lkm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blakehaswell/mongoose-unique-validator/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T12:03:58Z","updated_at":"2015-10-10T19:11:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/blakehaswell/mongoose-unique-validator/pulls/23","html_url":"https://github.com/blakehaswell/mongoose-unique-validator/pull/23","diff_url":"https://github.com/blakehaswell/mongoose-unique-validator/pull/23.diff","patch_url":"https://github.com/blakehaswell/mongoose-unique-validator/pull/23.patch"},"body":"Good day, thank you for the great plugin!\r\n\r\nProblem to solve:\r\n\"john.smith@gmail.com\" and \"John.Smith@gmail.com\" should be treated as equal.\r\n\r\nNew option:\r\nmySchema.plugin(uniqueValidator, {caseInsensitive: true});\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/blakehaswell/mongoose-unique-validator/issues/comments/147117974","html_url":"https://github.com/blakehaswell/mongoose-unique-validator/pull/23#issuecomment-147117974","issue_url":"https://api.github.com/repos/blakehaswell/mongoose-unique-validator/issues/23","id":147117974,"user":{"login":"viveleroi","id":70734,"avatar_url":"https://avatars.githubusercontent.com/u/70734?v=3","gravatar_id":"","url":"https://api.github.com/users/viveleroi","html_url":"https://github.com/viveleroi","followers_url":"https://api.github.com/users/viveleroi/followers","following_url":"https://api.github.com/users/viveleroi/following{/other_user}","gists_url":"https://api.github.com/users/viveleroi/gists{/gist_id}","starred_url":"https://api.github.com/users/viveleroi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viveleroi/subscriptions","organizations_url":"https://api.github.com/users/viveleroi/orgs","repos_url":"https://api.github.com/users/viveleroi/repos","events_url":"https://api.github.com/users/viveleroi/events{/privacy}","received_events_url":"https://api.github.com/users/viveleroi/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T19:11:30Z","updated_at":"2015-10-10T19:11:30Z","body":"We've done some house cleaning on this project - we'd be happy to review your PR if you would please rebase. If we don't hear anything within a week or so we'll close this PR, but will consider if you ever resubmit."}}