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: validating with `forbidUnknownValues: true` while root object has no active validation fails
- When Strict Class Initialization enabled, how to reuse the same class across Read and Write operations?
- Matches decorator uses pattern value for both pattern and modifier parameters
- feature: Injecting request object in custom validators
- feature: add `isNotBlank` decorator
- feature: Add ValidatorOptions to the validate method of ValidatorConstraintInterface
- feature: add `Filters` decorator
- This module support property's alias?
- question: Inheriting feature does not work as i expect, whenever i activate the whitelist
- fix: the `$value` placeholder is not replaced in validation error messages
- Docs
- TypeScript not yet supported