Document when environment variable property mapping applies
Closes gh-41877
This commit is contained in:
parent
0e4091ec2c
commit
f4b73da657
|
|
@ -938,9 +938,9 @@ For example, the configuration property `spring.main.log-startup-info` would be
|
|||
|
||||
Environment variables can also be used when binding to object lists.
|
||||
To bind to a `List`, the element number should be surrounded with underscores in the variable name.
|
||||
|
||||
For example, the configuration property `my.service[0].other` would use an environment variable named `MY_SERVICE_0_OTHER`.
|
||||
|
||||
Support for binding from environment variables is applied to the `systemEnvironment` property source and to any additional property source whose name ends with `-systemEnvironment`.
|
||||
|
||||
|
||||
[[features.external-config.typesafe-configuration-properties.relaxed-binding.caching]]
|
||||
|
|
|
|||
Loading…
Reference in New Issue