Skip to content

Fix EnvPrefix not being used with aconfigdotenv #163

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 2 commits into
base: main
Choose a base branch
from

Conversation

aponad
Copy link

@aponad aponad commented Jun 16, 2025

Using aconfigdotenv to load env variables from file with EnvPrefix with not work as if it would be with passed ones.

Example test (I will create a separate PR after if this one will be merged):
https://github.com/cristalhq/aconfig/compare/main...aponad:aconfig:add-env-prefix-test?expand=1

@cristaloleg
Copy link
Member

Hey, thanks for the PR. Why not add test in here?

@aponad
Copy link
Author

aponad commented Jun 16, 2025

Hi,
Tests are in aconfigdotenv, but fix is in aconfig.
We will have to bump aconfig version in aconfigdotenv for them to pass.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

None yet

2 participants