-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Issue 1360 - Support header map and query map #1361
Conversation
@abhijitsarkar Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@abhijitsarkar Thank you for signing the Contributor License Agreement! |
Current coverage is 73.75% (diff: 70.00%)@@ master #1361 diff @@
==========================================
Files 187 184 -3
Lines 5751 5659 -92
Methods 0 0
Messages 0 0
Branches 864 862 -2
==========================================
- Hits 4294 4174 -120
- Misses 1149 1182 +33
+ Partials 308 303 -5
|
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.
@spencergibb will probably have to take a look at this as well, but it looks good to me. Do you think we should add some documentation as well? Or since we are using Spring MVC annotations it should be obvious this is supported?
@ryanjbaxter I'd think one of the benefits of using the Spring annotations is that people are already familiar with those and don't need further guidance. The behavior I implemented is already documented: RequestHeader doc:
RequestParam doc:
|
@abhijitsarkar I agree, just making sure we are all on the same page, thanks! |
@spencergibb @ryanjbaxter Do you need anything else from me? If not, when can I expect this PR to be merged? |
Just waiting for @spencergibb to take a look |
@ryanjbaxter Can someone else take a look? It's not much of a community driven project if one person becomes a bottleneck. There're other PRs open for months, neither accepted, nor rejected. |
@abhijitsarkar No need to get testy. Half of the team is on leave, the other half is traveling for a conference. I'll look at it early next week. |
I am not trying to make anyone a bottleneck, I am the "new guy" on the team so I am a little more cautious merging commits in code I am not too familiar with. Sorry for the inconvenience. |
* @param method the method that contains the annotation | ||
* @return whether the parameter is http | ||
*/ | ||
boolean processArgument(AnnotatedParameterContext context, Annotation annotation, Method method); |
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.
Formatting: we use tabs, not spaces
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.
Since this is not a backward compatible change on a public interface, I'm hesitant to make this change in a bugfix release. I've been bitten by this too often.
|
RE: 1) Do it, deprecate the originals and in the next release we will remove as for 2) the formatter should and I just told you. |
@spencergibb Requested changes in. Please review. |
Is there something else I can do to help this get merged? |
Following up to see what's the hold up and if anything if needed from me. |
@abhijitsarkar I think I made a mistake in having you split the interface to try and make it backward compatible. It's too messy. If you're willing, I'd like to go back to the single interface for the next major version. |
@spencergibb I've reverted my changes on my branch and the PR seems to have picked it up. Feel free to merge at will. |
#1360