Skip to content

Allow customizing default Smile codec via CodecConfigurer #24382

@feutche

Description

@feutche

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.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions