-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
Config validation in LoadFromPath is an ad-hoc pile of one-off if checks with no consistent pattern. Each new config field adds another bespoke validation block, making it easy to miss fields and hard to audit coverage.
Formalize config validation with a consistent approach:
- Consider a declarative validation model (struct tags, a validation table, or a
Validate()method per config section) - Ensure all numeric ranges, required fields, enum values, and cross-field constraints are covered systematically
- Make it obvious when a new config field is missing validation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels