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

As a developer app settings are validated before app starts #1039

Closed
chrisjsimpson opened this issue Jan 8, 2023 · 0 comments
Closed

As a developer app settings are validated before app starts #1039

chrisjsimpson opened this issue Jan 8, 2023 · 0 comments

Comments

@chrisjsimpson
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently a .env and python-dotenv is used to load config, but there's no schema validation of that config.

Describe the solution you'd like

Introduce schema validation of application settings and fail fast if invalid/incomplete settings given.

Describe alternatives you've considered

Additional context
Similar to elastic, errors should be helpful and guide the user to which/what settings is missing and its type

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

No branches or pull requests

1 participant