Skip to content

Conversation

@onobc
Copy link
Contributor

@onobc onobc commented Feb 2, 2026

This commit drops support for projections if a parameter (or the parameter type) is not explicitly annotated with @ ProjectedPayload. A warning is still logged in these cases to help user understand why the parameter is not being projected.

Closes #3301

@onobc onobc added this to the 4.1 M1 (2026.0.0) milestone Feb 2, 2026
@onobc onobc added type: enhancement A general enhancement has: breaking-change An issue that is associated with a breaking change. labels Feb 2, 2026
@onobc onobc self-assigned this Feb 2, 2026
@onobc onobc requested a review from mp911de February 2, 2026 21:08
@mp911de mp911de assigned mp911de and unassigned onobc Feb 9, 2026
@mp911de mp911de changed the title Stop supporting params not annotated with @ ProjectedPayload Stop supporting params not annotated with @ProjectedPayload Feb 9, 2026
This commit drops support for projections if a parameter (or the parameter type)
is not explicitly annotated with `@ProjectedPayload`. A warning is still logged
in these cases to help user understand why the parameter is not being projected.

Also, simplifies the `ProxyingHandlerMethodArgumentResolverUnitTests` as follows:
- clarifies controller method names
- groups test methods by what they are doing

Closes spring-projects#3301
@onobc onobc force-pushed the GH-3301-stop-proxying-params branch from 8baeca5 to e3c2ecb Compare February 9, 2026 22:13
mp911de pushed a commit that referenced this pull request Feb 10, 2026
This commit drops support for projections if a parameter (or the parameter type)
is not explicitly annotated with `@ProjectedPayload`. A warning is still logged
in these cases to help user understand why the parameter is not being projected.

Also, simplify tests.

Closes #3301
Original pull request: #3453
Related ticket: #3298
mp911de added a commit that referenced this pull request Feb 10, 2026
Move class javadoc to class declaration.

See #3301
Original pull request: #3453
@mp911de
Copy link
Member

mp911de commented Feb 10, 2026

Thank you for your contribution. That's merged and polished now.

@mp911de mp911de closed this Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has: breaking-change An issue that is associated with a breaking change. type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stop supporting params that are not annotated with @ProjectedPayload (4.1.x)

2 participants