class-validator
https://github.com/typestack/class-validator
TypeScript
Decorator-based property validation for classes.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported4 Subscribers
Add a CodeTriage badge to class-validator
Help out
- Issues
- feat: add `@IsStrictlyOptional()` decorator filtering only missing `undefined` values
- fix: overwrite validation decorators from parent class when defined iā¦
- fix: Validation returns an `unknownValue` error for strings when `forbidUnknownValues: false`
- feature:ValidateNested to allow dto and numbers for mikro-orm which accept array of objects or numbers or mix of both
- question: Error with decorator in Typescript: Unable to resolve signature of property decorator when called as an expression.ts(1240)
- fix: Update IsPostalCode.ts, optional ' locale ' causing errors in runtime
- feature: Improve ValidateIf types
- feature: Add IsSlug validator from validate.js
- fix: <@ValidateNested() Fails When Used with @Transform() in NestJS DTO Validation>
- feat: add standard schema support and associated tests
- Docs
- TypeScript not yet supported