API suggestion
quantizor opened this issue · 0 comments
quantizor commented
It would be cool to ship a zod-formik-adapter/auto
export with a getter such that it automatically wraps the first z.object() call in the adapter... allowing for more straight-forward usage:
import {z} from 'zod-formik-adapter/auto'
const schema = z.object({})
<Formik validationSchema={schema} />