spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

Consider revisiting converters and codecs default setup in HTTP stacks

Open bclozel opened this issue 1 year ago • 0 comments

The order of codecs has been the same for a very long time and applications might rely on it.

On the other hand, Spring Boot has been consistently reordering converters and codecs to align with industry trends. For example, reordering XML last in favor of JSON and other converters.

Unfortunately, this creates a disconnect between the order as declared in the application context and what Spring Boot applies in practice. This also causes inconsistencies like https://github.com/spring-projects/spring-boot/issues/43143.

We should consider a change here, as long as there is minimal disruption for Framework and Boot developers.

bclozel avatar Nov 15 '24 13:11 bclozel