spring-projects / spring-projects/spring-framework
Reactive request and response in SpEL expression within @MVC annotations [SPR-14535]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 60.2k
- Forks
- 38.8k
- Avg merge
- 5d 2h
- Merged PRs (30d)
- 27
Description
Rossen Stoyanchev opened SPR-14535 and commented
Currently we have annotated controller method arguments, e.g. @PathVariable, @RequestParam, @RequestHeader, CookieValue, @Value, etc. Many of them support SpEL expressions and those should support expressions referring to the request, response, and possibly the exchange.
Affects: 5.0 M1
Contributor guide
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 tracing how annotated controller method arguments such as @PathVariable, @RequestParam, @RequestHeader, CookieValue, and @Value are resolved, then inspect their SpEL support. Determine how expressions should refer to the request, response, and possibly the exchange. Done means the supported annotations can evaluate those references consistently, with behavior covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100