-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
WebFlux Coroutines support does not handle correctly suspending functions that returns Coroutines Flow
which is a valid use case when for example using WebClient
"2 stage" API.
@GetMapping("/flow-via-webclient")
suspend fun flowViaWebClient() =
client.get()
.uri("/flow")
.accept(MediaType.APPLICATION_JSON)
.awaitExchange()
.bodyToFlow<Banner>()
This use case is valid and should be supported.
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug