Follow-up PR to improve/rearchitect the fallback support for properties files. When using a properties file we could specify an include value pointing to which properties file to use as fallback.This way we could for instance share a common set of properties across different properties sets via single file, while allowing to override and add properties as needed.
Considerations/Implementation Details
The include functionality has been pulled out FilePropertiesEntries into DefaultEntriesFactory where we would instead build an EntriesChain to achieve the same. In order to discourage the use of this functionality without breaking things a warning log has been added in order to notify the users of the new option.
Scope of the PR
Follow-up PR to improve/rearchitect the fallback support for properties files. When using a properties file we could specify an
include
value pointing to which properties file to use as fallback.This way we could for instance share a common set of properties across different properties sets via single file, while allowing to override and add properties as needed.Considerations/Implementation Details
The
include
functionality has been pulled outFilePropertiesEntries
intoDefaultEntriesFactory
where we would instead build anEntriesChain
to achieve the same. In order to discourage the use of this functionality without breaking things a warning log has been added in order to notify the users of the new option.