Merge pull request #15423 from SayakMukhopadhyay/fix-15422

fix: environment variable substitution in config doesn't work with boolean values
This commit is contained in:
Ben Lambert
2022-12-29 16:36:26 +01:00
committed by GitHub
3 changed files with 45 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/config': patch
---
Adds the ability to coerce values to their boolean representatives.
Values such as `"true"` `1` `on` and `y` will become `true` when using `getBoolean` and the opposites `false`.
This happens particularly when such parameters are used with environmental substitution as environment variables are always strings.