-
Notifications
You must be signed in to change notification settings - Fork 20
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
⚙️ Implement config validation #40
Comments
Merged
roma-glushko
changed the title
Implement config validation
⚙️ Implement config validation
Jan 21, 2024
Closed
roma-glushko
added a commit
that referenced
this issue
Jan 21, 2024
roma-glushko
added a commit
that referenced
this issue
Jan 21, 2024
roma-glushko
added a commit
that referenced
this issue
Jan 21, 2024
roma-glushko
added a commit
that referenced
this issue
Jan 21, 2024
roma-glushko
added a commit
that referenced
this issue
Jan 21, 2024
roma-glushko
added a commit
that referenced
this issue
Jan 21, 2024
roma-glushko
added a commit
that referenced
this issue
Jan 21, 2024
roma-glushko
added a commit
that referenced
this issue
Jan 21, 2024
roma-glushko
added a commit
that referenced
this issue
Jan 22, 2024
- Made sure it's not possible to override the required fields by nil values accidentally by misformatting the config file - used github.com/go-playground/validator/v10 for config validation - created custom validation errors - Made sure router and model IDs are unique - Made sure there is at least one lang router configured - Made sure that each router has at least one model configured - Warn users in case there is only one model in the router's pool
Merged
roma-glushko
added a commit
that referenced
this issue
Jan 22, 2024
# Changelog ## Improvements - ⚙️ [config] Added validation for config file content #40 (@roma-glushko) - ⚙️ [config] Allowed to pass HTTP server configs from config file #41 (@roma-glushko) - 👷 [build] Allowed building Homebrew taps for release candidates #99 (@roma-glushko)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: