{"action":"closed","issue":{"url":"https://api.github.com/repos/ctavan/express-validator/issues/279","repository_url":"https://api.github.com/repos/ctavan/express-validator","labels_url":"https://api.github.com/repos/ctavan/express-validator/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/ctavan/express-validator/issues/279/comments","events_url":"https://api.github.com/repos/ctavan/express-validator/issues/279/events","html_url":"https://github.com/ctavan/express-validator/issues/279","id":188856107,"number":279,"title":"getValidationErrors is not a function","user":{"login":"EmixMaxime","id":10252674,"avatar_url":"https://avatars.githubusercontent.com/u/10252674?v=3","gravatar_id":"","url":"https://api.github.com/users/EmixMaxime","html_url":"https://github.com/EmixMaxime","followers_url":"https://api.github.com/users/EmixMaxime/followers","following_url":"https://api.github.com/users/EmixMaxime/following{/other_user}","gists_url":"https://api.github.com/users/EmixMaxime/gists{/gist_id}","starred_url":"https://api.github.com/users/EmixMaxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmixMaxime/subscriptions","organizations_url":"https://api.github.com/users/EmixMaxime/orgs","repos_url":"https://api.github.com/users/EmixMaxime/repos","events_url":"https://api.github.com/users/EmixMaxime/events{/privacy}","received_events_url":"https://api.github.com/users/EmixMaxime/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-11T21:35:32Z","updated_at":"2016-11-12T10:08:16Z","closed_at":"2016-11-12T10:08:16Z","body":"Hello,\r\nI do that :\r\n```javascript\r\nrouter.get('/', (request, response) => { \r\n  request.checkQuery('to', 'Invalid date').isDate()\r\n  request.getValidationErrors()\r\n})\r\n\r\n```\r\nand I have this error : \r\n`request.getValidationErrors is not a function` \r\nWhy?\r\nIn my app.js I use the middleware after bodyParser.\r\n"}}
{"actor":{"display_login":"EmixMaxime"}}