react-hook-form / resolvers

📋 Validation resolvers: Yup, Zod, Superstruct, Joi, Vest, Class Validator, io-ts, Nope, computed-types, typanion, Ajv, TypeBox, ArkType, Valibot, effect-ts and VineJS
https://react-hook-form.com/
MIT License
1.77k stars 161 forks source link

feat(classValidationResolver): add transform and validator options #524

Closed jorisre closed 1 year ago

jorisre commented 1 year ago

@bluebill1049 you can review but do not merge. There is a breaking change

Fix #445

github-actions[bot] commented 1 year ago

Size Change: +31 B (0%)

Total Size: 130 kB

Filename Size Change
class-validator/dist/class-validator.js 528 B +10 B (+2%)
class-validator/dist/class-validator.module.js 552 B +11 B (+2%)
class-validator/dist/class-validator.umd.js 631 B +10 B (+2%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `ajv/dist/ajv.js` | 37 kB | | `ajv/dist/ajv.module.js` | 37 kB | | `ajv/dist/ajv.umd.js` | 37.1 kB | | `computed-types/dist/computed-types.js` | 359 B | | `computed-types/dist/computed-types.module.js` | 376 B | | `computed-types/dist/computed-types.umd.js` | 456 B | | `dist/resolvers.js` | 359 B | | `dist/resolvers.module.js` | 373 B | | `dist/resolvers.umd.js` | 454 B | | `io-ts/dist/io-ts.js` | 1.28 kB | | `io-ts/dist/io-ts.module.js` | 1.18 kB | | `io-ts/dist/io-ts.umd.js` | 1.41 kB | | `joi/dist/joi.js` | 592 B | | `joi/dist/joi.module.js` | 610 B | | `joi/dist/joi.umd.js` | 698 B | | `nope/dist/nope.js` | 345 B | | `nope/dist/nope.module.js` | 365 B | | `nope/dist/nope.umd.js` | 434 B | | `superstruct/dist/superstruct.js` | 302 B | | `superstruct/dist/superstruct.module.js` | 319 B | | `superstruct/dist/superstruct.umd.js` | 404 B | | `typanion/dist/typanion.js` | 323 B | | `typanion/dist/typanion.module.js` | 336 B | | `typanion/dist/typanion.umd.js` | 418 B | | `vest/dist/vest.js` | 472 B | | `vest/dist/vest.module.js` | 436 B | | `vest/dist/vest.umd.js` | 562 B | | `yup/dist/yup.js` | 629 B | | `yup/dist/yup.module.js` | 643 B | | `yup/dist/yup.umd.js` | 732 B | | `zod/dist/zod.js` | 572 B | | `zod/dist/zod.module.js` | 591 B | | `zod/dist/zod.umd.js` | 679 B |

compressed-size-action