Skip to content

feature: Allow overriding with other env files #44

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

e-e
Copy link

@e-e e-e commented Aug 9, 2021

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 e-e changed the title [Feature] Allow overriding with other env files feature: Allow overriding with other env files Aug 9, 2021
renaming and additional readme

revert pubspec.lock changes

increment minor version level
@java-james
Copy link
Owner

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

@e-e
Copy link
Author

e-e commented Mar 22, 2022

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

@SAGV
Copy link

SAGV commented May 1, 2023

This would be so good to have!

@java-james
Copy link
Owner

@e-e are you interested and available to update this PR to resolve existing conflicts?

@SAGV
Copy link

SAGV commented Dec 19, 2024

Would be really nice to have it to work!

@e-e
Copy link
Author

e-e commented Jan 3, 2025

@java-james Hey! I won't have time to look at this for the foreseeable future, so if someone else wants to take it on by all means

@StephenBrough
Copy link

@java-james @e-e I think I've fixed the conflicts. What's the best way to send the fixes up?

@e-e
Copy link
Author

e-e commented Jan 26, 2025

@StephenBrough

do you want to open a pull request against my fork?

@e-e
Copy link
Author

e-e commented Apr 16, 2025

@java-james sorry for the delay. Thanks to @StephenBrough the conflicts have been resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants