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
- feature: IsMatchingJSONSchema to check if the input object matches a JSON schema
- feature: new decorator @Disallow to explicitly disallow a property (e.g. in a subclass)
- 1.0 Roadmap
- Validation Error Format
- fix: Inheriting Validation decorators does not work as documented
- fix: Inheriting Validation decorators are not working properly
- feature: change type of defaultMessage from string to any
- feature: Support unknown and known values in one object when whitelist and forbid turned on
- fix: validateNested not throwing error if property is missing
- fix: IsOptional() with groups
- Docs
- TypeScript not yet supported