resolvers icon indicating copy to clipboard operation
resolvers copied to clipboard

fix(zod): allow inferring specific `Resolver` type from `zodResolver`

Open mintchkin opened this issue 1 year ago • 2 comments

Summary

Allows the result of zodResolver to infer the schema shape, based on the zod schema it's been passed. This matches the behavior of the similar yupResolver, as implemented in #563

Resolves #429, #447, #551

mintchkin avatar Dec 09 '23 21:12 mintchkin

Thank you for your contributions! This Pull Request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Best, RHF Team ❤️

stale[bot] avatar Mar 13 '24 10:03 stale[bot]