{"action":"created","issue":{"url":"https://api.github.com/repos/kraih/mojo/issues/907","repository_url":"https://api.github.com/repos/kraih/mojo","labels_url":"https://api.github.com/repos/kraih/mojo/issues/907/labels{/name}","comments_url":"https://api.github.com/repos/kraih/mojo/issues/907/comments","events_url":"https://api.github.com/repos/kraih/mojo/issues/907/events","html_url":"https://github.com/kraih/mojo/issues/907","id":133230460,"number":907,"title":"Force array in validator","user":{"login":"rshadow","id":737152,"avatar_url":"https://avatars.githubusercontent.com/u/737152?v=3","gravatar_id":"","url":"https://api.github.com/users/rshadow","html_url":"https://github.com/rshadow","followers_url":"https://api.github.com/users/rshadow/followers","following_url":"https://api.github.com/users/rshadow/following{/other_user}","gists_url":"https://api.github.com/users/rshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/rshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rshadow/subscriptions","organizations_url":"https://api.github.com/users/rshadow/orgs","repos_url":"https://api.github.com/users/rshadow/repos","events_url":"https://api.github.com/users/rshadow/events{/privacy}","received_events_url":"https://api.github.com/users/rshadow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-12T12:35:55Z","updated_at":"2016-02-14T14:27:09Z","closed_at":null,"body":"Please add ability to force arrays in Mojolicious::Validator::Validation.\r\nFor example:\r\n```\r\n$self->validation->required('tariffs')->array;\r\n```\r\nor maybe filter?\r\n```\r\n$self->validation->required('tariffs', 'array');\r\n```\r\n\r\nOn undef result must be empty array. On one or more values non empty array."},"comment":{"url":"https://api.github.com/repos/kraih/mojo/issues/comments/183899541","html_url":"https://github.com/kraih/mojo/issues/907#issuecomment-183899541","issue_url":"https://api.github.com/repos/kraih/mojo/issues/907","id":183899541,"user":{"login":"jhthorsen","id":45729,"avatar_url":"https://avatars.githubusercontent.com/u/45729?v=3","gravatar_id":"","url":"https://api.github.com/users/jhthorsen","html_url":"https://github.com/jhthorsen","followers_url":"https://api.github.com/users/jhthorsen/followers","following_url":"https://api.github.com/users/jhthorsen/following{/other_user}","gists_url":"https://api.github.com/users/jhthorsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhthorsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhthorsen/subscriptions","organizations_url":"https://api.github.com/users/jhthorsen/orgs","repos_url":"https://api.github.com/users/jhthorsen/repos","events_url":"https://api.github.com/users/jhthorsen/events{/privacy}","received_events_url":"https://api.github.com/users/jhthorsen/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T14:27:09Z","updated_at":"2016-02-14T14:27:09Z","body":"Why does it have to be post?"}}