Custom Validation + Zod Resolver #12521
Unanswered
Amansaxena001
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a form where our all the validations are running via zod resolver. That works fine but consider a scenario where we might need to validate something like business logic validation that requires usage of both api responses and current form level data to validate what user might put in form. For eg
For such cases how we can handle this in a generic way. If I explicitly pass
validate
in theController
it doesn't work as zod resolver is present.Beta Was this translation helpful? Give feedback.
All reactions