-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
Config: Allow default value for when environment variables not set #765
Comments
kael-shipman
added a commit
to kael-shipman/node-db-migrate
that referenced
this issue
Jan 21, 2022
closes db-migrate#765 Signed-off-by: Kael Shipman <[email protected]>
kael-shipman
added a commit
to kael-shipman/node-db-migrate
that referenced
this issue
Jan 21, 2022
closes db-migrate#765 Signed-off-by: Kael Shipman <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a...
Current behavior
You can specify environment variables for config, but if the environment variable is not set, you can't provide a default (fallback) value.
Expected behavior
Should be able to provide
{ "ENV": "MY_ENV_VAR", "default": "some-value" }
as a value, and whenMY_ENV_VAR
is not set,some-value
should be used.Environment
The text was updated successfully, but these errors were encountered: