spring-projects / spring-projects/spring-hateoas
SpringAffordanceBuilder handles request parameters always as query parameters
Open
@odrotbohm is already working on this.
Since Oct 19, 2021.
process: waiting for feedback
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 476
- PR merge metrics
- No merged PRs in 30d
Description
When SpringAffordanceBuilder creates affordances from a controller method it handles request parameters always as query parameters. This should only be the case for GET methods or methods with an @RequestBody parameter. Otherwise, it should create a InputPayloadMetadata. InputPayloadMetadata could be useful for GET, too, because a HAL-FORM contains more information than a templated URL.
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.
Assessment
This issue has not been assessed yet.