spring-projects / spring-projects/spring-framework

Reactive request and response in SpEL expression within @MVC annotations [SPR-14535]

Open
#19,104 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: web type: enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.