Need a runtime parameter to request calls #150

PhiLhoSoft opened this Issue Jul 16, 2013 · 0 comments


None yet

1 participant


In order to add a loading indicator over specific views in a rather transparent way, I had to add a parameter to the send request, a parameter to identify which presenter made the call, so that a dedicated filter can manage the requests and the corresponding responses, notifying the concerned presenters / views.

In short, I wanted to add a parameter to the call that will not be sent to the server but that will be found in the Method's data hash.

I made a notation for these parameters: @MethodDataParam, with a key as annotation parameter.

It seems generic enough to be worth being part of the project. I added a documentation and a test case.

Pull request to follow...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment