{"comment":{"url":"https://api.github.com/repos/hanami/controller/comments/20373043","html_url":"https://github.com/hanami/controller/commit/64f3cefeed33463cc604767118f5c380b265788a#commitcomment-20373043","id":20373043,"user":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"position":7,"line":21,"path":"lib/hanami/action/exposable.rb","commit_id":"64f3cefeed33463cc604767118f5c380b265788a","created_at":"2017-01-05T14:09:48Z","updated_at":"2017-01-05T14:09:48Z","body":"@parndt Having `params` exposed by default, is useful.\r\n\r\nIn the past we had this problem over and over: in case of form submission with invalid data, if a developer forgets to expose manually `params`, they got confused why the HTML form don't has the its fields filled with the wrong data.\r\n\r\n---\r\n\r\nThe side effect of exposing an information is the creation of a _getter_. Exposures need concrete methods, so we can't undef that method.\r\n\r\n---\r\n\r\nWhy is this a problem for you?"}}
{"actor":{"display_login":"jodosha"}}