Resolve new package cycle between web.servlet.handler
and web.servlet.function
#33381
Labels
Milestone
web.servlet.handler
and web.servlet.function
#33381
#32689 introduced an
instanceof HandlerFunction
check inAbstractHandlerMethodExceptionResolver
which creates a package cycle betweenorg.springframework.web.servlet.handler
andorg.springframework.web.servlet.function(.support)
. Since this is just for identification and not making use of the actualHandlerFunction
interface itself, we could detect a marker interface instead - implemented byHandlerFunction
but living in theorg.springframework.web.servlet
parent package - or use an annotation to identify such pass-through handler objects that are supported next toHandlerMethod
instances inAbstractHandlerMethodExceptionResolver
.The text was updated successfully, but these errors were encountered: