Validation Array / Better DX #651
-
I noticed the default way to perform validation is by using a
I really love the
in Angular there are ways to compose validations when creating a form.
I'm not sure how this would work, but it would be nice to compose validations for a form without having to write a function for each field and/or validation. I feel like that could end up requiring a lot of grunt work.
|
Beta Was this translation helpful? Give feedback.
Answered by
crutchcorn
Mar 25, 2024
Replies: 1 comment
-
Zod is actually able to chain errors together! 😄
This should work! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
crutchcorn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Zod is actually able to chain errors together! 😄
This should work!