git-code-debt
git-code-debt copied to clipboard
Config loading doesn't actually validate / default anything
Things I'd like to do
- Allow for
metrics
andmetric_expressions
to be left blank and defaulted - Validate that the metric names all exist in the loaded metrics (requires a db call)
I'm not sure I'm comfortable solving part 2 of this issue at runtime due to needing a database access. I might instead opt for a script that validates the configuration instead.