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

KTOR-5283 Support Default Value for missing Env Variables in YAML #3288

Merged
merged 1 commit into from Dec 7, 2022

Conversation

rsinukov
Copy link
Contributor

@rsinukov rsinukov commented Dec 6, 2022

@rsinukov rsinukov requested a review from e5l December 6, 2022 13:51
@rsinukov rsinukov self-assigned this Dec 6, 2022
Copy link
Member

@marychatte marychatte left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -133,6 +133,18 @@ class YamlConfigTest {
}
}

@Test
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a test when there is a default value, and an environment variable is set.

Copy link
Member

@e5l e5l left a comment

Choose a reason for hiding this comment

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

lgtm

@rsinukov rsinukov merged commit 0e60c96 into main Dec 7, 2022
@rsinukov rsinukov deleted the rsinukov/yaml-default branch December 7, 2022 08:08
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

4 participants