Skip to content

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

@java-james
Copy link
Owner

Beauty, thanks. I will get this reviewed.

@java-james
Copy link
Owner

java-james commented Aug 20, 2025

I have reviewed this PR and am happy with the additional feature. Agree that it's an additional useful way to load/compose your env variables.

edit: I was able to resolve the conflict in browser :)

Waiting for workflows to run now

@java-james java-james merged commit 0c2795b into java-james:master Aug 20, 2025
1 check failed
@java-james
Copy link
Owner

Merged. Thanks for the contribution

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