From c3e12c87c7fd055263979ed05327ef9081b5bfe3 Mon Sep 17 00:00:00 2001 From: Cornelius <144817755+DPDS93CT@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:33:36 +0100 Subject: [PATCH] adjust config-loader to NOT convert values implicitly (#841) --- src/shared/config/config.loader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/config/config.loader.ts b/src/shared/config/config.loader.ts index d471bdc22..5fd3025b6 100644 --- a/src/shared/config/config.loader.ts +++ b/src/shared/config/config.loader.ts @@ -35,7 +35,7 @@ export function loadConfigFiles(): JsonConfig { merged = merge(json, env); } - const mergedConfig: JsonConfig = plainToInstance(JsonConfig, merged, { enableImplicitConversion: true }); + const mergedConfig: JsonConfig = plainToInstance(JsonConfig, merged, { enableImplicitConversion: false }); const errors: ValidationError[] = validateSync(mergedConfig, { skipMissingProperties: false,