Skip to content
Advertisement

Tag: spring-boot-configuration

Backwards compatibility when changing Spring Boot externalized configuration

Is there a recommended way to introduce restructurings/renamings into an externalized configuration while keeping backwards compatibility for consumers still relying on the old configuration structure? For example, given a library used the following configuration structure defined via @ConfigurationProperties in the past: A new version of that library redefines the configuration to something like this: Is there a good way to

Advertisement