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
- fix: TypeDI update broke `useContainer`
- fix: skipMissingProperties does not have any effect on @ValidateNested()
- [bug] Inherited classes with nested/complex properties are not validated
- feat: add support for validation of tuples
- Cannot read property '0' of undefined
- feat: support multi-dimensional arrays
- Feature request: @IsNullable
- New decorators @Custom and @Transform
- Option to validate field ONLY as part of a validation group
- Why Conditional Validation ignored all constraint on a field instead?
- Docs
- TypeScript not yet supported