This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Investigate if we can improve Pydantic's error messages for user consumption #13337
Labels
A-Validation
500 (mostly) errors due to lack of event/parameter validation
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Z-Dev-Wishlist
Makes developers' lives better, but doesn't have direct user impact
Milestone
If anyone wants to see the kind of error messages Pydantic produces, try running this test case on my other pydantic experiment branch.
I think the name of the model isn't user-relevant. The "error context" (stuff in brackets) also loks like noise to an end-user. But we should be able to inspect the
ValidationError
and format it as we please.Originally posted by @DMRobertson in #13188 (comment)
The text was updated successfully, but these errors were encountered: