spring-projects / spring-projects/spring-hateoas
TraversalBuilder and Hop should be able to handle multiple values for a template parameter
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 476
- PR merge metrics
- No merged PRs in 30d
Description
With spring-mvc (and other frameworks) it is easy to handle requests where one parameter is used more than once in a single request, such as GET http://my-url.org/my-service?param=value1¶m=value2¶m=value3. (For instance, using spring-mvc one could use a List for a single parameter with multiple values or a MultiValueMap.)
However, the TraversalBuilder and Hop classes of spring-hateoas store template parameters in a Map and thereby fail to handle the above situation. Could this change, so that clients can handle multiple values?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the TraversalBuilder and Hop classes mentioned in the issue, focusing on how template parameters are stored and expanded. Reproduce a request containing repeated param values such as value1, value2, and value3; done means clients preserve and handle all values instead of collapsing them into one map entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100