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
- docs: add minimal example for usage with inversify
- Validation order
- fix: `@IsPhoneNumber` decorator does not match E.164 format
- fix: `@ValidateIf` receives transformed nested object instead of POJO
- feat: add decorator to check if two properties match
- ValidateNested throw 500, when it receives string or number instead of object
- Problem with nested object validation
- [Question] How to "remove" inherit decorator ?
- feat: @IsOptional should works only for undefined values
- How to describe validators for two possible types: array or string?
- Docs
- TypeScript not yet supported