Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid codec auto-configuration when they are not going to be used #15690

wilkinsona opened this issue Jan 11, 2019 · 0 comments


None yet
2 participants
Copy link

commented Jan 11, 2019

CodecsAutoConfiguration is conditional on CodecConfigurer which is part of spring-web. This means that the auto-configuration will kick in for any typical web application. This is somewhat at odds with the codecs only being used, I think, by WebClient and WebFlux. We should see if we can tighten up the conditions so that CodecsAutoConfiguration (and its inner configurations JacksonCodecConfiguration and LoggingCodecConfiguration) only kick in when more likely to be used.

@wilkinsona wilkinsona added this to the 2.2.x milestone Jan 11, 2019

@bclozel bclozel self-assigned this May 21, 2019

@bclozel bclozel modified the milestones: 2.2.x, 2.2.0.M4 May 21, 2019

@bclozel bclozel closed this in b2e395d May 27, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.