Skip to content

Config improvements #7565

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

Closed
wants to merge 5 commits into from
Closed

Conversation

dblythy
Copy link
Member

@dblythy dblythy commented Sep 10, 2021

New Pull Request Checklist

Issue Description

Currently, config doesn't set defaults for nested values, nor does it infer environment variables.

Related issue: #7151

Approach

Adds internal validator for config keys, as well as nested keys. This way, step 4 and 5 can go for most cases, except when additional validation needs to occur. Lets default properties be nested.

TODOs before merging

  • Fix test cases
  • Add entry to changelog

@parse-github-assistant
Copy link

parse-github-assistant bot commented Sep 10, 2021

Thanks for opening this pull request!

  • ❌ Please link an issue that describes the reason for this pull request, otherwise your pull request will be closed. Make sure to write it as Closes: #123 in the PR description, so I can recognize it.

Copy link

@lucascognamiglio1 lucascognamiglio1 left a comment

Choose a reason for hiding this comment

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

improve the coverage please

@dblythy dblythy closed this Mar 26, 2022
@dblythy dblythy reopened this May 17, 2023
@dblythy dblythy closed this May 17, 2023
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.

4 participants