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
- ValidateNested on Array of objects fail with "property should not exists"
- fix: @IsUUID(version?: UUIDVersion) not working
- add typescript generic type to functions to ensure type check
- feature: store the array of enum values in ValidationError instances
- feat: allow validate object literal (#1378)
- fix: IsDateString validation behavior regressed from 0.12.2 to 0.13.0
- question: how to validate instance to have single field, and all other fields undefined?
- feature: Add ValidatorOption to always validate nested properties
- feat: Added a ISO639-1 decorator
- feature: add `@IsISO6391` decorator
- Docs
- TypeScript not yet supported