Allow customizing default Smile codec via CodecConfigurer #24382
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Affects: 5.1.12
Even though Smile codec is configured as part of default codecs in
BaseDefaultCodecs
, there's currently no way to configure it or replace it similar to other default codecs.The only way arount at the moment is to remove all defaults and reconfigure everything from scratch using only custom codecs.
It seems to be even more complicated on the client side where default codecs include specials for SSE and multipart, so unregistering all defaults and building it all back is quite cumbersome.
This is inconsistent with other defaults, but also the whole codec configuration system seems very inconvenient for simple tasks like disabling a particular codec feature (in my case to get around #24198) or more frequent customizations like adding modules or mixins to ObjectMapper.
The text was updated successfully, but these errors were encountered: