logoalt Hacker News

bastawhiztoday at 1:41 AM0 repliesview on HN

It wouldn't. If you load configuration and it's the wrong type, now Pydantic is throwing an error. You can't run code if the config is invalid no matter what tools you use: failing validation is still an error.