resolvers
resolvers copied to clipboard
📋 Validation resolvers: Yup, Zod, AJV, Joi, Superstruct, Vest, class-validator, io-ts, typanion, Ajv, TypeBox, Valibot and nope.
The `latest` version of `arktype` is now `2.0.0-dev.14`, which is consistent with an upcoming major release. I've created a new major version of the `@hookform/resolvers/arktype` to match this. I did...
Resolves issue: [#615](https://github.com/react-hook-form/resolvers/issues/615) Changes - Add logic to infer instance path for properties which are required and which have custom error message - Add tests for the above changes
`ZodError` type expects `errors` prop to be an array ```ts export declare class ZodError extends Error { issues: ZodIssue[]; get errors(): ZodIssue[]; constructor(issues: ZodIssue[]); format(): ZodFormattedError; format(mapper: (issue: ZodIssue) =>...
**Describe the bug** We have an error in our production server. (I have not gained clearance to share the stack trace) that indicates `errors` object can be undefined. ``` TypeError...
Unfortunately, I introduced a breaking change in a type of Valibot v0.33.0. So I updated the dependencies.
**Describe the bug** I have this react native code: ```ts const passwordValidation = (schema) => schema .min(10, 'Password must be at least 10 characters') .matches( /(?=.*[A-Z])/, 'Password must have at...
**Describe the bug** ``` > rm -rf ./.next && next build ▲ Next.js 14.2.4 - Environments: .env Creating an optimized production build ... Failed to compile. ./node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@hookform/resolvers/valibot/dist/valibot.mjs Attempted import error:...
**Describe the bug** When trying to use the `arktypeResolver` the following error happens: > Error: Tried to initialize an $ark registry but one already existed. This probably means you are...
**Describe the bug** ``` TypeError: Cannot read properties of undefined (reading 'refs') at i (https://hdv5hj.csb.app/node_modules/ hookform/resolvers/dist/resolvers.js:1:357 at Object.t [as validateFieldsNatively] (https://hdv5hj.csb.app/node_modules/ hookform/resolvers/dist/resolvers.js:1:431 at u (https://hdv5hj.csb.app/node_modules/ hookform/resolvers/joi/dist/joi.js:1:688 async Object.R [as _executeSchema]...
**Describe the bug** `@hookform/resolvers` is unable to find `superstruct` when it's hoisted to the root-level and `superstruct` remains in the workspace. This likely impacts other validation packages due to it...