Allow custom WebArgumentResolvers to be configured using the mvc namespace [SPR-7327] #11986
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Keith Donald opened SPR-7327 and commented
Currently there is no easy way to configure WebArgumentResolvers and use the namespace. You can write a BeanPostProcessor to change AnnotationMethodHandlerAdapter after construction, but its API does not allow you to add a resolver, only set the entire collection. The other option is to not use mvc:annotation-driven.
A child element of mvc:annotation-driven should do the trick:
Affects: 3.0.3
Referenced from: commits 37e0a90, 7aaad37
1 votes, 1 watchers
The text was updated successfully, but these errors were encountered: