Open quantizor opened 2 years ago
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:
zod-formik-adapter/auto
import {z} from 'zod-formik-adapter/auto' const schema = z.object({}) <Formik validationSchema={schema} />
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: