From f8e8307c1f3cbcdec9e5ead3bddd5bb43264a3c3 Mon Sep 17 00:00:00 2001 From: Sayak Mukhopadhyay Date: Thu, 29 Dec 2022 17:12:13 +0530 Subject: [PATCH] feat: update changeset to reflect broader scope Signed-off-by: Sayak Mukhopadhyay --- .changeset/tidy-flies-cheer.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.changeset/tidy-flies-cheer.md b/.changeset/tidy-flies-cheer.md index d8c3780821..78de902e63 100644 --- a/.changeset/tidy-flies-cheer.md +++ b/.changeset/tidy-flies-cheer.md @@ -2,4 +2,6 @@ '@backstage/config': patch --- -Handle a case when boolean configuration parameters are given a string type of 'true' or 'false'. This happens particularly when such parameters are used with environmental substitution as environment variables are always strings. +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.