-
Notifications
You must be signed in to change notification settings - Fork 402
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
Variable substitution using real environment variable fallbacks #74
Comments
Also needing this functionality back.. |
@nick-jones @andrewmclagan well 1 year later, I had the same need in my project. I created #102. For now I am using https://github.com/fireworkweb/godotenv (my fork) where I returned the behaviour. Just registering this here in case someone stumbles upon this issue and then can check the latest on this. |
@fabriciojs 👍 there is also #72 and #88. Unfortunately no word from @joho on this. |
Hey @fabriciojs we're looking for similar functionality, but where it is able to read environment variables from Is this something that you would be able to update in your fork? (or @joho) Thanks! |
Also made #227 as all other pull requests got stale due to parser rewrite in version 1.5. |
#54 introduced a change that meant substitution of variables from the real environment (i.e. not that derived from
.env
itself) was possible.It looks like #58 removed this behaviour, in particular the deletion of
os.LookupEnv
- https://github.com/joho/godotenv/pull/58/files#diff-224f281bd0a4cfe0e7dcb394e8c7a585L299. Unfortunately it isn't clear from the PR if that was intended. Any chance someone can clarify?The text was updated successfully, but these errors were encountered: