Skip to content
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

Add test for overwriting key from env #370

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

Conversation

matthiasbeyer
Copy link
Collaborator

To address #369

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@tekjar
Copy link

tekjar commented Aug 23, 2022

That's fast! :). Thanks @matthiasbeyer

@matthiasbeyer
Copy link
Collaborator Author

Don't get too excited, this is just a test. I do not have a fix yet 😆

@tekjar
Copy link

tekjar commented Aug 23, 2022

Heheh just noticed this. Still, thanks! :)

@tekjar
Copy link

tekjar commented Aug 23, 2022

I would like to send a PR. Can you point me where overwrites happen in the code path?

The comment on the assert!() explains why this is not expecting an
Error.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@matthiasbeyer
Copy link
Collaborator Author

Okay, so the fix would be to not alias the field.

That's unfortunately the only fix I see right now because of the way config does deserialization. There's no fix that would make the code at hand work as expected.

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