Refine generic type management in AbstractMessageWriterResultHandler
#30214
Labels
status: backported
An issue that has been backported to maintenance branches
theme: kotlin
An issue related to Kotlin support
type: bug
A general bug
Milestone
From @sdeleuze on slack:
Reproduction repository at https://github.com/Kantis/kxs-repro
The bug
When using KotlinX serialization with Webflux, we expect that any combination of presence/absence of suspend functions and ResponseEntity to play nicely together.
As the repro demonstrates, that is not the case. KotlinX serialization is only used in one of the 4 possible setups:
Suspend with ResponseEntity ❌
Suspend without ResponseEntity ✅
No suspend with ResponseEntity ❌
No suspend without ResponseEntity ❌
The text was updated successfully, but these errors were encountered: