Skip to content

Commit

Permalink
adjust config-loader to NOT convert values implicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
DPDS93CT committed Dec 12, 2024
1 parent 2ef7a25 commit d536d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/config/config.loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d536d8a

Please sign in to comment.