Has anyone managed to get a WebFlux controller wor...
# spring
e
Has anyone managed to get a WebFlux controller working with value classes? I get the error
object is not an instance of declaring class
when trying to use a
@PathVariable
that is a value class.
Using kotlinx.serialization. The controller is registeredto use kotlinx.serialization for serialization using
WebFluxConfigurer.configureHttpMessageCodecs
r
It's not officially supported, but there's a potential workaround described in this issue: https://github.com/spring-projects/spring-framework/issues/27345