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

feat: add transformErrors parameter to validators for customized error display management #755

Merged
merged 14 commits into from
Jun 19, 2024

Conversation

t-rosa
Copy link
Contributor

@t-rosa t-rosa commented Jun 17, 2024

fix #667 but introduce a little breaking change (see #667 (comment))

Copy link

nx-cloud bot commented Jun 17, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 40b73a0. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@t-rosa t-rosa changed the title feat: add errorMap parameters to validators for customized error display management feat: add errorMap parameter to validators for customized error display management Jun 17, 2024
@t-rosa t-rosa changed the title feat: add errorMap parameter to validators for customized error display management feat: add transformErrors parameter to validators for customized error display management Jun 17, 2024
Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
Copy link
Member

@crutchcorn crutchcorn left a comment

Choose a reason for hiding this comment

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

This is easily one of the most high quality PRs from our community. Thank you immensely for this!

@crutchcorn crutchcorn merged commit b67bd8d into TanStack:main Jun 19, 2024
1 of 2 checks passed
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.

Add a way to display only one error for a field
3 participants