-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Open
Labels
type: enhancementA general enhancementA general enhancement
Milestone
Description
Assume you declare a configuration properties class like this:
@ConstructorBinding
@ConfigurationProperties("sample")
class SampleProperties {
SampleProperties(@DefaultValue("${user.home}/foo") String location) { … }
}
If the application now configures the property sample.location
to ${user.home}/bar
, the constructor is called with /Users/…/bar
, i.e. the dynamic reference to the user home folder has been replaced with the actual value. If the application does not configure an explicit value, the value handed into constructor is literally ${user.home}/foo
, i.e. the reference to the user's home directory is not resolved.
remal, AdrianDiemerDev and ThomasVitale
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement