{"action":"closed","issue":{"url":"https://api.github.com/repos/Nightapes/ng2-validators/issues/35","repository_url":"https://api.github.com/repos/Nightapes/ng2-validators","labels_url":"https://api.github.com/repos/Nightapes/ng2-validators/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/Nightapes/ng2-validators/issues/35/comments","events_url":"https://api.github.com/repos/Nightapes/ng2-validators/issues/35/events","html_url":"https://github.com/Nightapes/ng2-validators/issues/35","id":220480114,"number":35,"title":"Improve errors by including instantiation parameters","user":{"login":"third774","id":8732191,"avatar_url":"https://avatars0.githubusercontent.com/u/8732191?v=3","gravatar_id":"","url":"https://api.github.com/users/third774","html_url":"https://github.com/third774","followers_url":"https://api.github.com/users/third774/followers","following_url":"https://api.github.com/users/third774/following{/other_user}","gists_url":"https://api.github.com/users/third774/gists{/gist_id}","starred_url":"https://api.github.com/users/third774/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/third774/subscriptions","organizations_url":"https://api.github.com/users/third774/orgs","repos_url":"https://api.github.com/users/third774/repos","events_url":"https://api.github.com/users/third774/events{/privacy}","received_events_url":"https://api.github.com/users/third774/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-09T16:00:22Z","updated_at":"2017-04-10T18:14:32Z","closed_at":"2017-04-10T18:14:32Z","body":"Currently, the errors that are put on the `FormControl.errors` are just a booleans, however it would be more useful for dynamically displaying error messages to provide an object (whose existence already indicates the error) and has properties containing the parameters used to construct the validator function.\r\n\r\nFor example, the `repeatCharacterRegexRule` error should have the number that was passed into it to create the rule."}}
{"actor":{"display_login":"Nightapes"}}