flutter_dotenv icon indicating copy to clipboard operation
flutter_dotenv copied to clipboard

feature: Allow overriding with other env files

Open e-e opened this issue 3 years ago • 3 comments

Instead of managing multiple env files with duplicate data, this adds a way to provide additional env files to use as overrides. The idea here being that there would be a "base" env file, and then environment-specific env files which would override a subset of the base env file values.

There were some auto-formatting changes, but I tried to run them against dartfmt and it said there were no changes to be made 🤷 Screen Shot 2021-08-08 at 7 35 16 PM Screen Shot 2021-08-08 at 7 35 19 PM

e-e avatar Aug 09 '21 02:08 e-e

Thanks for the PR just a note to say aware it's open and will make time to review and see how this aligns with larger .env libraries in regards to usage

java-james avatar Aug 11 '21 23:08 java-james

Hey @java-james. No pressure on the PR, but just wanted to report back that we are currently successfully using this addition in our app

e-e avatar Mar 22 '22 02:03 e-e

This would be so good to have!

SAGV avatar May 01 '23 10:05 SAGV