[QUESTION] - How would I Read from multiple config files and environment variables? #1524
Unanswered
sujit-baniya
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've come across a use case where I've to use multiple config files
.json
,.env
and environment variables in such a way..json
is loaded.env
is loaded. Empty variables on.env
or non-existing variables wouldn't override values from.json
.env
or non-existing variables wouldn't override values from.json
For the same purpose, I tried with following snippet but doesn't seem to work.
Expected result:
Actual result:
Is it possible to attain as mentioned? If so, how could I achieve the functionality
Beta Was this translation helpful? Give feedback.
All reactions