You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reviewing #28422, I noticed that the name attribute in @ModelAttribute is not supported in WebFlux.
This is because MethodParameter is used instead of SynthesizingMethodParameter when retrieving the @ModelAttribute annotation. In other words, @AliasFor is not honored because the annotation is not synthesized. Consequently, only the value attribute is supported in WebFlux when specifying a custom name via @ModelAttribute.