Closed torsten-liermann closed 4 years ago
It will be hard to create such a migration guide because all that has left from the old version is the name: Charon. The new Charon is a completely new project with a new way for configuring features and some new features added. The webmvc and webflux versions have identical configuration APIs.
This is a pity that absolutely no configuration options exist. Often, mappings must be customizable using external configuration. Unfortunately, charon proxy does not follow the idea of spring boot regarding externalized configuration. Each application now has to implement MappingProperties and so on. Not so good. Is it planned for future releases?
I need to understand more what problem you are trying to solve.
Do you need a possibility to change request mappings during application runtime?
Why CharonConfigurer
's API is not sufficient for you?
Agreed with @torsten-liermann, removing the configuration property support has significantly increased the complexity involved in using this library
What the motivation was for this change?
Hi @reecefenwick this is why I've changed it:
List
or Map
property in @ConfigurationProperties
class.@ConfigurationProperties
allow only to configure simple properties like String
, int
, Duration
, Class
etc. It is hard to model configuration for nested objects like the LoadBalancer
here or List<ClientHttpRequestInterceptor>
hereIf you still need help, let me know.
Hi,
a little migration guide would be nice. Coming from version 3.20, I have no idea for fixing these compile errors without studying the entire documentation and source code. A spring boot starter with autoconfiguration of webmvc and webflux would also be handy.
Thanks, Torsten