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: ValidateNested allows empty arrays as objecs
- question: Validating based upon root object's property
- build(deps): bump validator and @types/validator
- question: array of numbers with null values
- Easy way to compose ORed validators
- Add decorator to check if two properties match or property follows a custom condition.
- feature: accsess eachPrefix in error messages
- Unable to use cutom validator, since it is saying it is not a function
- question: How to get object state before it was transformed in Validator?
- feat: add IsNullable decorator
- Docs
- TypeScript not yet supported