-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
One thing this crate was missing before, and is still missing, is the ability to load multiple cascading .env files.
For example, if I have the following in project/.env:
X=1
Y=2
And the following in project/subdir/.env:
Y=5
It would be ideal if running dotenv::dotenv() in project/subdir/ would load
X=1
Y=5
I think one of the hardest parts of this is the API design, though, especially with specifying manual filenames (or directory names for cascading).
If you'd be willing to support this, I would recommend iterating on solutions before committing to 1.0.
Boscop, ondrowan and marcospb19
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers