Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: consistent config values with schema validation #170

Merged
merged 1 commit into from
May 7, 2020

Conversation

greenreign
Copy link
Contributor

PR Type

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: 168

What is the new behavior?

Values returned from ConfigService should prioritize environment variables over dotenv files when using schemaValidation like it does when not using schemaValidation.

Does this PR introduce a breaking change?

[ ] Yes
[X] No

in order to fix issue nestjs#168 - inconsistent value prioritization when
using
schema validation - change config-module value merge to prioritize
process.env over 'config'.

issue nestjs#168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants