Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve base pydantic errors in issues #329

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

nikokaoja
Copy link
Collaborator

Small update (one liner) that bubbles up what failed. Previously it was only saying "Field required" since loc was not considered in the error
Screenshot 2024-03-19 at 15 28 25

Copy link
Collaborator

@doctrino doctrino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elegant, just 6 lines of code

@nikokaoja nikokaoja merged commit d3965a0 into main Mar 19, 2024
6 checks passed
@nikokaoja nikokaoja deleted the NEAT-114-Better-Issues-handling branch March 19, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants