{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-grape/grape/issues/1142","labels_url":"https://api.github.com/repos/ruby-grape/grape/issues/1142/labels{/name}","comments_url":"https://api.github.com/repos/ruby-grape/grape/issues/1142/comments","events_url":"https://api.github.com/repos/ruby-grape/grape/issues/1142/events","html_url":"https://github.com/ruby-grape/grape/pull/1142","id":104366189,"number":1142,"title":"Makes #declared unavailable to before filters","user":{"login":"jrforrest","id":109654,"avatar_url":"https://avatars.githubusercontent.com/u/109654?v=3","gravatar_id":"","url":"https://api.github.com/users/jrforrest","html_url":"https://github.com/jrforrest","followers_url":"https://api.github.com/users/jrforrest/followers","following_url":"https://api.github.com/users/jrforrest/following{/other_user}","gists_url":"https://api.github.com/users/jrforrest/gists{/gist_id}","starred_url":"https://api.github.com/users/jrforrest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrforrest/subscriptions","organizations_url":"https://api.github.com/users/jrforrest/orgs","repos_url":"https://api.github.com/users/jrforrest/repos","events_url":"https://api.github.com/users/jrforrest/events{/privacy}","received_events_url":"https://api.github.com/users/jrforrest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-01T22:19:44Z","updated_at":"2015-09-02T17:07:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ruby-grape/grape/pulls/1142","html_url":"https://github.com/ruby-grape/grape/pull/1142","diff_url":"https://github.com/ruby-grape/grape/pull/1142.diff","patch_url":"https://github.com/ruby-grape/grape/pull/1142.patch"},"body":"In response to issue #1074\r\n\r\nThis adds a mechanism by which Grape::DSL::InsideRoute methods may be\r\noverriden after certain filters are run.\r\n\r\nThe first problem case of a filter being utilized before it should that\r\nnecessitated this enhancement is the `#declared` method, which was\r\nreturning un-coerced params in `before` filters.\r\n\r\nThere may be other problem cases, which may be rectified using this same\r\nmechanism."},"comment":{"url":"https://api.github.com/repos/ruby-grape/grape/issues/comments/137173352","html_url":"https://github.com/ruby-grape/grape/pull/1142#issuecomment-137173352","issue_url":"https://api.github.com/repos/ruby-grape/grape/issues/1142","id":137173352,"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":"2015-09-02T17:07:23Z","updated_at":"2015-09-02T17:07:23Z","body":"This looks good, mind squashing the commits please?"}}