{"action":"closed","issue":{"url":"https://api.github.com/repos/koajs/joi-router/issues/21","repository_url":"https://api.github.com/repos/koajs/joi-router","labels_url":"https://api.github.com/repos/koajs/joi-router/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/koajs/joi-router/issues/21/comments","events_url":"https://api.github.com/repos/koajs/joi-router/issues/21/events","html_url":"https://github.com/koajs/joi-router/issues/21","id":163695372,"number":21,"title":"Setting converted query values is not working correctly","user":{"login":"satazor","id":1017236,"avatar_url":"https://avatars.githubusercontent.com/u/1017236?v=3","gravatar_id":"","url":"https://api.github.com/users/satazor","html_url":"https://github.com/satazor","followers_url":"https://api.github.com/users/satazor/followers","following_url":"https://api.github.com/users/satazor/following{/other_user}","gists_url":"https://api.github.com/users/satazor/gists{/gist_id}","starred_url":"https://api.github.com/users/satazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satazor/subscriptions","organizations_url":"https://api.github.com/users/satazor/orgs","repos_url":"https://api.github.com/users/satazor/repos","events_url":"https://api.github.com/users/satazor/events{/privacy}","received_events_url":"https://api.github.com/users/satazor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-04T15:09:25Z","updated_at":"2016-07-27T16:33:02Z","closed_at":"2016-07-27T16:33:02Z","body":"Joi supports converting/casting types but this feature is not working correctly with the koa integration.\r\n\r\nIf one has a `query` validator, [this](https://github.com/koajs/joi-router/blob/master/joi-router.js#L401) line sets request.query to the converted object but it then gets stringified again [here](https://github.com/koajs/koa/blob/master/lib/request.js#L161) which causes numbers, booleans, etc to be converted to string again. \r\n\r\n"}}
{"actor":{"display_login":"aheckmann"}}