-
Notifications
You must be signed in to change notification settings - Fork 223
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
feat(validate): provide validate error in data
#594
Conversation
I guess we could also improve the error message but might be a breaking change so I kept it this way. |
Codecov ReportAll modified and coverable lines are covered by tests β
Additional details and impacted files@@ Coverage Diff @@
## main #594 +/- ##
==========================================
+ Coverage 84.43% 84.44% +0.01%
==========================================
Files 32 32
Lines 3752 3755 +3
Branches 559 559
==========================================
+ Hits 3168 3171 +3
Misses 584 584 β View full report in Codecov by Sentry. |
data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π―
π Linked issue
β Type of change
π Description
We were not forwarding the error from zod to the
data
property, making it impossible to get back the errors/issues from it.Before:
After: