Skip to content

Using CodecCustomizer requires explicit dependency on spring-boot-http-codec #47397

@kzander91

Description

@kzander91

With 4.0.0-M3, spring-boot-starter-webflux doesn't include CodecCustomizer anymore at compile time.
The reason seems to be that spring-boot-http-codec is a runtime dependency of spring-boot-webflux.

Was this an intentional decision? As a consequence, as a user of the WebFlux starter, I will also have to add spring-boot-http-codec as a compile-time dependency to be able to define CodecCustomizer beans.

The corresponding section in the docs (the CodecCustomizer Javadoc link is broken, by the way), just tells me to "add a CodecCustomizer bean", but doesn't tell me that I need an additional dependency for that.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions