validatePredefined has no effect unless the deprecated ignoreEnvVars is set #1970
Closed
1 of 4 tasks
Labels
bug
Something isn't working
Is there an existing issue for this?
Current behavior
Line 68 in
config.module.ts
has a bug. It says:But the docs say that
ignoreEnvVars
is deprecated, and one should usevalidatePredefined
instead. But if we do that, thenignoreEnvVars
will be unset and thus falsey. MeaningvalidatePredefined
has no effect.Minimum reproduction code
config/lib/config.module.ts
Line 68 in 1694ea6
Steps to reproduce
No response
Expected behavior
Correct code should be
Package version
11
NestJS version
11
Node.js version
No response
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: