Skip to content
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

Support binding @PathVariable(s) to a Map [SPR-9289] #13927

Closed
spring-projects-issues opened this issue Mar 30, 2012 · 0 comments
Closed

Support binding @PathVariable(s) to a Map [SPR-9289] #13927

spring-projects-issues opened this issue Mar 30, 2012 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Mar 30, 2012

Keith Donald opened SPR-9289 and commented

You can bind all request params to a Map but not path variables e.g.
this works:

@RequestParam Map<String, String> params

This doesn't:

@PathVariable Map<String, String> vars

For consistency it'd be good to support @PathVariable Map binding as well.


Affects: 3.1.1

Issue Links:

Referenced from: commits 3f5fa44, 1d0e484, 7dff02b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants