-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for scoped callbcaks within a version block #901
Conversation
I think this is the perfect fix. Add CHANGELOG, update README and UPGRADING (explicitly call this a regression and that the behavior is fixed in the next version). |
I've documented everything as you mentioned. It would be great if you could merge this and release a new version of this gem if possible. Thanks once again! |
@@ -5,6 +5,7 @@ Next Release | |||
* [#559](https://github.com/intridea/grape/issues/559): Support Rack 1.6.0 to parse requests larger than 128KB - [@myitcv](https://github.com/myitcv). | |||
* [#876](https://github.com/intridea/grape/pull/876): declared(params) now returning Hashie::Mash - [@rodzyn](https://github.com/rodzyn). | |||
* [#879](https://github.com/intridea/grape/pull/879): route_info is not included in params Hash anymore - [@rodzyn](https://github.com/rodzyn). | |||
* [#901](https://github.com/intridea/grape/pull/901): callbacks defined in a version block are only called for the routes defined in that block - [@kushkella](https://github.com/kushkella). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start with Fix: callbacks ...
and fix the extra space after the -, please.
Made minor comments. Can you please update with those and squash the commits. Thank you. |
340dedc
to
fd1f1b8
Compare
update CHANGELOG, README and UPGRADING fix copy
fd1f1b8
to
86c5bdb
Compare
I've made the changes, squashed the commits and rebased on master. Thank you. |
add support for scoped callbcaks within a version block
Merged, thank you. |
Please refer #898. I haven't really understood in depth how Grape works internally, but I think this should solve the problem. I would really appreciate if you could give some feedback.
I haven't documented this PR since I'm not sure if this is the correct fix. After I receive some feedback, I'll document this PR. Thanks!