Skip to content

restyjs-graveyard/class-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚧 in Development 🚧

class-validator

  switch (paramMetadata.paramType) {
    case "body":
      try {
        args[paramMetadata.index] = await transformAndValidate(
          paramMetadata.type,
          req.body,
          {
            transformer: paramMetadata.classTransform
              ? paramMetadata.classTransform
              : void 0,
            validator: paramMetadata.validatorOptions,
          }
        );
      } catch (error) {
        throw new ValidationError(error);
      }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published