Stop supporting params not annotated with @ProjectedPayload#3453
Closed
onobc wants to merge 1 commit intospring-projects:mainfrom
Closed
Stop supporting params not annotated with @ProjectedPayload#3453onobc wants to merge 1 commit intospring-projects:mainfrom
@ProjectedPayload#3453onobc wants to merge 1 commit intospring-projects:mainfrom
Conversation
onobc
commented
Feb 3, 2026
src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java
Show resolved
Hide resolved
@ ProjectedPayload@ProjectedPayload
mp911de
reviewed
Feb 9, 2026
src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java
Outdated
Show resolved
Hide resolved
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
8baeca5 to
e3c2ecb
Compare
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
Member
|
Thank you for your contribution. That's merged and polished now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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