Consistently support CompletionStage/CompletableFuture in ReactiveAdapterRegistry #23011
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Along the lines of #19823 in the 4.3.x line, we should revise
ReactiveAdapterRegistry
towardsCompletionStage
support, considering all implementations of that interface as adaptable (instead of justCompletableFuture
). This makes reactive return types for WebFlux consistent with MVC/messaging handler methods, most importantly allowing return type declarations to use theCompletionStage
interface even if they effectively returnCompletableFuture
instances at runtime.The text was updated successfully, but these errors were encountered: