Skip to content

Conversation

@dmitrysulman
Copy link
Contributor

In #35473 (comment) it was noted that the HTTP Interface does not support Kotlin suspending functions returning Flow.

While this technically works, the issue is that such invocations are handled via ReactorHttpExchangeAdapter#exchangeForBodyMono instead of ReactorHttpExchangeAdapter#exchangeForBodyFlux.

This PR fixes the issue by adapting HttpServiceMethod in a similar way to the improvements made to RSocketServiceMethod in #35473.

cc @sdeleuze

Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 30, 2025
@sdeleuze sdeleuze self-assigned this Oct 30, 2025
@sdeleuze sdeleuze added in: web Issues in web modules (web, webmvc, webflux, websocket) theme: kotlin An issue related to Kotlin support type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Oct 30, 2025
@sdeleuze sdeleuze added this to the 6.2.13 milestone Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) theme: kotlin An issue related to Kotlin support type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants