resolvers
resolvers copied to clipboard
📋 Validation resolvers: Yup, Zod, AJV, Joi, Superstruct, Vest, class-validator, io-ts, typanion, Ajv, TypeBox, Valibot and nope.
**Describe the bug** When using `classValidatorResolver`, combining `@IsOptional()` with `@Length()` makes the field required **To Reproduce** [codesandbox.io](https://rb.gy/8yurn7) **Expected behavior** I expect `@IsOptional()` to mark the field as not required, though...
**Describe the bug** The validator crashed while trying to validate a File upload with an error `Cannot read properties of undefined (reading 'length') `. The schema like this works fine:...

**Describe the bug** The Async mode for AJV is not working. It's not handling promise here https://github.com/react-hook-form/resolvers/blob/master/ajv/src/ajv.ts#L71 https://ajv.js.org/guide/async-validation.html **To Reproduce** Steps to reproduce the behavior: **Codesandbox link (Required)** Include a...
**Is your feature request related to a problem? Please describe.** Yes. I'm trying to use `typeboxResolver` with ElysiaJS to share a schema between client and server. This almost works, except...
## Description - Current implementation only makes use of the dynamic validation (aka `ValueCheck`) of `TypeBox` but not its `TypeCompiler` (a high-performance JIT) which is a killer feature, especially when...
Initial submission of an effect-ts compatible react-hook-form resolver that accepts schemas from the `@effect/schema` library.
Adds a resolver for [VineJS](https://vinejs.dev/) library.
**Describe the bug** When used together with zod 3.23 it will throw type errors in the `zodResolver()` function, all schemas does this **To Reproduce** Use latest release of @hookform/resolvers with...
**Describe the bug** Hookform Resolver is making types optional. **To Reproduce** Steps to reproduce the behavior: ``` export const loginValidationSchema = () => yup.object().shape({ email: yup .string() .trim() .required("email_req") .email("email_invalid")...