Class Validator Callback

ValidateCallback decorator for class-validator
Alternatives To Class Validator Callback
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Plac2727587610 days ago34March 30, 20227bsd-2-clausePython
Plac: Parsing the Command Line the Easy Way
2 years ago27mitTypeScript
Forked from
Zftable801414 years ago5September 12, 201451mitPHP
*Not supported*ZfTable 3.1. Awesome ZF2 table / grid (and much much more) generator with huge possibilities of decorating and conditioning. Integrated with DataTables, Doctrine 2, Bootstrap 2.0 and 3.0.
Websql Orm44
4 months ago39February 19, 20211iscTypeScript
websql-orm is a sqlite orm . websql-orm library for cordova platform, typescript, angular and ionic .
Go Transaction Example34
3 months agomitGo
Example project to show how to combine sql.Tx transactions handling and decorators
Aurelia Rethink Bindtable1616 years ago6August 11, 20162JavaScript
Aurelia bind table integration for RethinkDB via
8 years ago3July 19, 20151mitGo
CLI tool to easily Decorate BigQuery table name
Class Validator Callback7
4 months agoTypeScript
ValidateCallback decorator for class-validator
Grid Garage3
4 years ago5Python
ArcGIS python toolbox supporting table-based processing
Flask Sqlite Admin3
7 years ago1mitPython
SQLite DB Management Blueprint for Flask Applications
Alternatives To Class Validator Callback
Select To Compare

Alternative Project Comparisons

Class Validator Callback

NPM Version Package License

Table of Contents


ValidateCallback decorator for class-validator


npm install class-validator class-validator-callback


  import { validate } from 'class-validator';
  import { ValidateCallback } from 'class-validator-callback';

  class User {
      (object, value) => /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{8,}$/.test(value), 
      { message: 'Error message for password' }
    password: string;

      (object, value) => object.password === value, 
      { message: 'Error message for passwordConfirmation' }
    passwordConfirmation: string;

  const user = new User();
  user.password = 'passW0rd';
  user.passwordConfirmation = 'passW0rd';
  validate(user).then(errors => console.log(errors));



Popular Decorators Projects
Popular Table Projects
Popular Libraries Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.