Hi there, I am currently struggling with a behavio...
# ktor
g
Hi there, I am currently struggling with a behavioural change in Ktor 2 client with the ContentNegotiation plugin. We have a base HttpClient configured with a default json configuration. Then we have a special HttpClient derived from the former with
.config()
and a dedicated Json configuration. With Ktor 2 we now end up with a dedicated HttpClient containing 2 json registration, where the default json config is always winning, effectively disabling the dedicated Json configuration. Is there a way to remove the first registration? Or is this maybe even a bug?
a
This is most likely a bug. I’ve created an issue.
🙏 1