mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Update configtree docs about dot notation being correctly mapped
See gh-28170
This commit is contained in:
parent
8c3820f87e
commit
8f91fc450d
@ -887,6 +887,8 @@ To import these properties, you can add the following to your `application.prope
|
||||
|
||||
You can then access or inject `myapp.username` and `myapp.password` properties from the `Environment` in the usual way.
|
||||
|
||||
NOTE: Filenames with dot notation are also correctly mapped.
|
||||
|
||||
TIP: Configuration tree values can be bound to both string `String` and `byte[]` types depending on the contents expected.
|
||||
|
||||
If you have multiple config trees to import from the same parent folder you can use a wildcard shortcut.
|
||||
|
Loading…
Reference in New Issue
Block a user