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: @IsMongoId() validate hex and / or instance
- fix: async validation inside promised properties finishes too early
- fix: validation crashes for properties named toString or hasOwnProperty
- fix: await async validation inside promised properties
- fix: handle prototype-named validation properties
- fix: accept numeric latitude and longitude inputs
- fix: align Length error messages with Unicode validation
- fix: validation message substitutions interpret dollar replacement sequences
- fix: preserve literal dollar sequences in validation messages
- fix: resolve callback dates in default validation messages
- Docs
- TypeScript not yet supported