mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
4d34444a69
Previously, a UriComponents build based on a method would require the given method to be the annotated one as method parameter resolution only applied locally. This was a problem when a controller was specified on a method whose mapping is defined in a parent. This commit harmonies the lookup using AnnotatedMethod who provides support for a synthesized method parameter that takes annotations from parent parameter into account. Closes gh-32553