Decision: Allow invalid config settings, automatically use default setting in their place #166
Labels
meta: design
High-level design considerations; related to feature or changes that require further review
question
Further information is requested
Milestone
While working on #161 I dealt with a case (pun intended) where I forgot to deal with a "stop the world" error and the code path descended into a switch statement which assumed only valid values would be provided.
This could be worked around in multiple ways, but these appear to be the most "accessible" for my current skill level:
For now, I'll plan to implement early failure/panic when finding invalid values after merging all config sources. This can either be the final behavior or can be enhanced by early failure upon first encountering an invalid value.
The text was updated successfully, but these errors were encountered: