{"action":"created","issue":{"url":"https://api.github.com/repos/ctavan/express-validator/issues/30","labels_url":"https://api.github.com/repos/ctavan/express-validator/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/ctavan/express-validator/issues/30/comments","events_url":"https://api.github.com/repos/ctavan/express-validator/issues/30/events","html_url":"https://github.com/ctavan/express-validator/issues/30","id":14054215,"number":30,"title":"Chaining check causes duplicated errors","user":{"login":"muka","id":1021269,"avatar_url":"https://avatars.githubusercontent.com/u/1021269?v=3","gravatar_id":"","url":"https://api.github.com/users/muka","html_url":"https://github.com/muka","followers_url":"https://api.github.com/users/muka/followers","following_url":"https://api.github.com/users/muka/following{/other_user}","gists_url":"https://api.github.com/users/muka/gists{/gist_id}","starred_url":"https://api.github.com/users/muka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muka/subscriptions","organizations_url":"https://api.github.com/users/muka/orgs","repos_url":"https://api.github.com/users/muka/repos","events_url":"https://api.github.com/users/muka/events{/privacy}","received_events_url":"https://api.github.com/users/muka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ctavan/express-validator/labels/enhancement","name":"enhancement","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2013-05-07T15:19:02Z","updated_at":"2015-10-18T12:06:26Z","closed_at":null,"body":"\r\n`request.check('email', 'Email is not valid').notEmpty().notNull().isEmail();`\r\n\r\nWith no \"email\" field set this will return 3 repeatitions of the same message. \r\nShouldn't the error message be unified on chained call like this?\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/ctavan/express-validator/issues/comments/149006078","html_url":"https://github.com/ctavan/express-validator/issues/30#issuecomment-149006078","issue_url":"https://api.github.com/repos/ctavan/express-validator/issues/30","id":149006078,"user":{"login":"rustybailey","id":1975147,"avatar_url":"https://avatars.githubusercontent.com/u/1975147?v=3","gravatar_id":"","url":"https://api.github.com/users/rustybailey","html_url":"https://github.com/rustybailey","followers_url":"https://api.github.com/users/rustybailey/followers","following_url":"https://api.github.com/users/rustybailey/following{/other_user}","gists_url":"https://api.github.com/users/rustybailey/gists{/gist_id}","starred_url":"https://api.github.com/users/rustybailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustybailey/subscriptions","organizations_url":"https://api.github.com/users/rustybailey/orgs","repos_url":"https://api.github.com/users/rustybailey/repos","events_url":"https://api.github.com/users/rustybailey/events{/privacy}","received_events_url":"https://api.github.com/users/rustybailey/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T12:06:26Z","updated_at":"2015-10-18T12:06:26Z","body":"I will look into this. The only issue is that it would require a major version update since it would break all unit tests (not to mention people's existing code in the wild). I won't be able to touch it this weekend, but I'll try to get to it this week. "}}