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

302-add-set-override-option-combinator #303

Merged

Conversation

saraiva132
Copy link
Contributor

Based on discussion in #302.

@matthiasbeyer I checked Environment and I do not believe it is not designed to support loading single env vars. This is just an example of how the method could look like.

Copy link
Collaborator

@matthiasbeyer matthiasbeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the change is simple enough to be merged, safe the two comments I had. Besides that 👍

src/builder.rs Outdated Show resolved Hide resolved
src/builder.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@matthiasbeyer matthiasbeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One little nitpick left, I would really appreciate if you could fix this 😄 🙏

src/builder.rs Outdated Show resolved Hide resolved
@matthiasbeyer
Copy link
Collaborator

Besides the one comment this looks good, feel free to squash (including the change for the comment from above)!

@saraiva132
Copy link
Contributor Author

I failed my squash miserably, can you squash for me on merge ? :) 🙇

@matthiasbeyer
Copy link
Collaborator

Not on merge, because squash merging is bad. I rebased for you and pushed to your PR branch.

@matthiasbeyer
Copy link
Collaborator

The CI failure comes from something else, which I fix in #304 - I wil rebase this PR for you after that other fix is merged!

This patch adds ConfigBuilder::set_override_option() to override a
setting from an Option<_>.

Signed-off-by: Matthias Beyer <[email protected]>
@matthiasbeyer matthiasbeyer merged commit 56c148b into mehcode:master Mar 22, 2022
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