{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-grape/grape/issues/1482","repository_url":"https://api.github.com/repos/ruby-grape/grape","labels_url":"https://api.github.com/repos/ruby-grape/grape/issues/1482/labels{/name}","comments_url":"https://api.github.com/repos/ruby-grape/grape/issues/1482/comments","events_url":"https://api.github.com/repos/ruby-grape/grape/issues/1482/events","html_url":"https://github.com/ruby-grape/grape/issues/1482","id":175015386,"number":1482,"title":"Make allow_blank false when the type is defined","user":{"login":"azbshiri","id":15009059,"avatar_url":"https://avatars.githubusercontent.com/u/15009059?v=3","gravatar_id":"","url":"https://api.github.com/users/azbshiri","html_url":"https://github.com/azbshiri","followers_url":"https://api.github.com/users/azbshiri/followers","following_url":"https://api.github.com/users/azbshiri/following{/other_user}","gists_url":"https://api.github.com/users/azbshiri/gists{/gist_id}","starred_url":"https://api.github.com/users/azbshiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azbshiri/subscriptions","organizations_url":"https://api.github.com/users/azbshiri/orgs","repos_url":"https://api.github.com/users/azbshiri/repos","events_url":"https://api.github.com/users/azbshiri/events{/privacy}","received_events_url":"https://api.github.com/users/azbshiri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ruby-grape/grape/labels/feature%20request","name":"feature request","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-05T07:58:59Z","updated_at":"2016-09-06T15:28:35Z","closed_at":null,"body":"Hey, we're working on a project and we have a lot of required parameters with their type defined but allow_blank is true by default so we should make allow_blank false for each one and that's bad (DRY). is there any option we can set to make it false when at least the type is defined or just for the requires method?"},"comment":{"url":"https://api.github.com/repos/ruby-grape/grape/issues/comments/244988774","html_url":"https://github.com/ruby-grape/grape/issues/1482#issuecomment-244988774","issue_url":"https://api.github.com/repos/ruby-grape/grape/issues/1482","id":244988774,"user":{"login":"dblock","id":542335,"avatar_url":"https://avatars.githubusercontent.com/u/542335?v=3","gravatar_id":"","url":"https://api.github.com/users/dblock","html_url":"https://github.com/dblock","followers_url":"https://api.github.com/users/dblock/followers","following_url":"https://api.github.com/users/dblock/following{/other_user}","gists_url":"https://api.github.com/users/dblock/gists{/gist_id}","starred_url":"https://api.github.com/users/dblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblock/subscriptions","organizations_url":"https://api.github.com/users/dblock/orgs","repos_url":"https://api.github.com/users/dblock/repos","events_url":"https://api.github.com/users/dblock/events{/privacy}","received_events_url":"https://api.github.com/users/dblock/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T15:28:34Z","updated_at":"2016-09-06T15:28:34Z","body":"I would take a pull request that configures global defaults for various validators."}}
{"actor":{"display_login":"dblock"}}