Merge pull request #23339 from backstage/rugvip/null-config

config: treat null as present but explicitly undefined
This commit is contained in:
Patrik Oldsberg
2024-03-01 11:09:02 +01:00
committed by GitHub
9 changed files with 134 additions and 33 deletions
+3
View File
@@ -101,6 +101,9 @@ All loaded configuration files are merged together using the following rules:
contents.
- Objects are merged together deeply, meaning that if any of the included
configs contain a value for a given path, it will be found.
- A `null` value in a config file will be treated as an explicit absence of
configuration. This means that the reading will not fall back to a lower priority
config, but it will still be treated as if the configuration was not present.
The priority of the configurations is determined by the following rules, in
order: