-
Notifications
You must be signed in to change notification settings - Fork 16
feat: use formatted zod schema validation errors #1130
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
Conversation
…escription: '...' })
|
View your CI Pipeline Execution ↗ for commit ff2d4be
☁️ Nx Cloud last updated this comment at |
@code-pushup/ci
@code-pushup/cli
@code-pushup/create-cli
@code-pushup/core
@code-pushup/models
@code-pushup/nx-plugin
@code-pushup/coverage-plugin
@code-pushup/eslint-plugin
@code-pushup/js-packages-plugin
@code-pushup/jsdocs-plugin
@code-pushup/lighthouse-plugin
@code-pushup/typescript-plugin
@code-pushup/utils
@code-pushup/models-transformers
commit: |
4cba07e to
d41393f
Compare
d41393f to
f5a8b2f
Compare
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared current commit d051f10 with previous commit 169b915. 🕵️ See full comparison in Code PushUp portal 🔍 🏷️ Categories👍 3 groups improved, 👎 1 group regressed, 👍 9 audits improved, 👎 3 audits regressed, 15 audits changed without impacting score🗃️ Groups
17 other groups are unchanged. 🛡️ Audits
583 other audits are unchanged. |
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.
I've been looking forward to this one since zod4 release 🚀
a76d65a to
ff2d4be
Compare
Part of #888
This PR focuses on how Zod errors are displayed to the user.
validatefunction everywhere instead of.parse, as it throws a more readable error..meta({ title: '...' })for all our named schemas (also moved descriptions there).stringifyErroreverywhere to convert unknown errors to a string.Loggeruses for its inline spinner and group errors.