Document when environment variable property mapping applies

Closes gh-41877
This commit is contained in:
Andy Wilkinson 2024-08-19 17:51:11 +01:00
parent 0e4091ec2c
commit f4b73da657
1 changed files with 1 additions and 1 deletions

View File

@ -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]]