-
Notifications
You must be signed in to change notification settings - Fork 89
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
Non-Reactive Behavior of NestJS ConfigService with Dynamic Environment Variable Updates #1476
Closed
1 task done
Comments
Would you like to create a PR for this issue? |
Sure |
seiwonpark
added a commit
to seiwonpark/config
that referenced
this issue
Jan 7, 2024
12 tasks
Let's track this here #1575 |
kamilmysliwiec
added a commit
that referenced
this issue
Feb 7, 2024
feat: set or update environment variables dynamically (#1476)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
The ConfigService in NestJS does not seem to react to changes in environment variables. When I update an environment variable externally (e.g., using Node.js), the ConfigService retains the old values and does not reflect the updated values.
Describe the solution you'd like
I would like to request the addition of a
set
method to the NestJS ConfigService. This method should allow for the dynamic updating of both environment variables and the corresponding values in the ConfigService, ensuring that they stay in sync.Example Usage:
Teachability, documentation, adoption, migration strategy
No response
What is the motivation / use case for changing the behavior?
Avoiding Anti-Patterns and Promoting Consistency
The text was updated successfully, but these errors were encountered: