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: expose extra options in `@IsAlphanumeric` and `@IsAlpha` decorators
- feature: warning mode for forbidUnknownValues
- fix: Accessing keys inside `object` property that's in `ValidationArguments` Interface
- discussion: addressing the current state and future plans for the project
- fix: [NestJS/useContainer] Dependency injection when provider scope is not default
- feature: allow validator on whole class
- feature: skipMissingPropertiesForce
- feature: Conditional validation inside validation options
- feature: ValidationError to extend native Error class
- fix: IsNumber decorator fails on values ABS(x) < 0.000001 when using maxDecimalPlaces
- Docs
- TypeScript not yet supported