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

Impl. override of required config parameters #94

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

pvannierop
Copy link
Contributor

@pvannierop pvannierop commented Oct 29, 2024

Problem

The existing copyEnv function does not allow to override config options that are not nullable (required parameters)

Solution

This PR will refactor the copyEnv function to allow setting both nullable and non-nullable config options.

Note

Tests were added to assert override of config by env vars.

@pvannierop pvannierop self-assigned this Oct 29, 2024
@pvannierop pvannierop force-pushed the feature/allow-env-override-required-config-options branch from 52aca54 to 0a4ea47 Compare October 29, 2024 16:02
@pvannierop pvannierop requested a review from keyvaann October 30, 2024 15:43
Copy link

@keyvaann keyvaann left a comment

Choose a reason for hiding this comment

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

LGTM

@pvannierop pvannierop force-pushed the feature/allow-env-override-required-config-options branch from 0a4ea47 to a0df720 Compare October 30, 2024 15:46
@pvannierop pvannierop force-pushed the feature/allow-env-override-required-config-options branch from a0df720 to bbe5c6b Compare October 30, 2024 15:53
@pvannierop pvannierop merged commit 46c24d1 into main Oct 30, 2024
2 checks passed
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.

2 participants