Missing migration guide
torsten-liermann opened this issue · comments
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:
- IDE does not support code completion in YML files if there is a
List
orMap
property in@ConfigurationProperties
class. @ConfigurationProperties
allow only to configure simple properties likeString
,int
,Duration
,Class
etc. It is hard to model configuration for nested objects like theLoadBalancer
here orList<ClientHttpRequestInterceptor>
here- Custom features (forwarding interceptors) can now use the same configuration API/style as the available ones.
- Now a developer knows that his configuration is wrong at compile time. In YML file errors are harder to detect.
If you still need help, let me know.