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

validate config at start time #5

Open
mcguenther opened this issue May 9, 2019 · 0 comments
Open

validate config at start time #5

mcguenther opened this issue May 9, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@mcguenther
Copy link
Contributor

currently, config options are checked when ever they are used in the code (if at all).
if a config option does not meet the type or other requirements, the execution may potentially break after minutes of run time.
consider parsing the config once at start time and creating a config object that guarantees correct values and only throws errors in the very beginning of the execution.

@mcguenther mcguenther added the enhancement New feature or request label May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant