-
-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] Field validation from form schema (#925)
* feat: add ability to pass errors to specific fields from Zod * chore: code cleanup * chore: fix various issues * chore: more TSC and lib fixes * ci: apply automated fixes * feat: add Yup support to schema valdiation * chore: rename contexts from code review * ci: apply automated fixes * feat: support form validaton in Valibot * chore: fix tests for createServerValidate * docs: add docs for validation logic * feat: apply transformError to all fields * fix: set transformed errors on nested fields * feat: spread zod errors into arrays * feat: spread yup errors into fields, nested and arrays * feat: spread valibot errors into fields, nested and arrays --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
- Loading branch information
1 parent
22ece11
commit 2785711
Showing
22 changed files
with
942 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.