You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But there is no messageWriters when writing body with BodyInserts.fromValue().
It seems that encoder and decoder that I added above are not registered at ExchangeStrategies.
I think following code block has bug. Why put all readers and writers from this to other? It seems that this and other are swapped.
This should be backported to 5.1.x as well, but I'm holding off on creating the backport issue with the assumption that a PR from @dlsrb6342 will supersede this issue.
Affects: 5.2.6.RELEASE
I added my custom encoder and decoder like following.
But there is no
messageWriters
when writing body withBodyInserts.fromValue()
.It seems that encoder and decoder that I added above are not registered at
ExchangeStrategies
.I think following code block has bug. Why put all readers and writers from
this
toother
? It seems thatthis
andother
are swapped.spring-framework/spring-web/src/main/java/org/springframework/http/codec/support/BaseCodecConfigurer.java
Lines 144 to 149 in 90ccabd
If it is a bug, I would like to create a PR. :)
The text was updated successfully, but these errors were encountered: