You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Environment variable substitution fails silently if "__format" parser is not supported #753
Describe the bug
Defining a custom-environment-variables.json file with "__format" definitions that do not match a supported parser leads to the configuration being silently ignored.
Activity
lorenwest commentedon Dec 11, 2023
Agreed it would be an improvement to either output an error message or throw an error if an unknown parser is specified.
markstos commentedon Jan 7, 2025
@KalleV Would you like to contribute a PR for this? Otherwise, the issue is likely to stay open.
jdmarshall commentedon Apr 28, 2025
I'm not sure how I feel about this feature, but this feels like an extension of strict mode
jdmarshall commentedon Jul 17, 2025
There's a placeholder for this feature in lib/util.js
https://github.com/node-config/node-config/blob/master/lib/util.js#L1303
jdmarshall commentedon Jul 10, 2026
I've flagged this as a breaking change but it's a relatively small one as these things go. But I still might move it to 6.0