class-transformer-validator icon indicating copy to clipboard operation
class-transformer-validator copied to clipboard

A simple plugin for class-transformer and class-validator which combines them in a nice and programmer-friendly API.

Results 15 class-transformer-validator issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1. Release notes Sourced from pathval's releases. v1.1.1 Fixes a security issue around prototype pollution. Commits db6c3e3 chore: v1.1.1 7859e0e Merge pull request #60 from...

dependencies

This PR updates class-validator and class-transformer to their latest versions, allowing projects that depend on class-transformer-validator, to update to the latest versions of the peer dependencies. Changes: - The latest...

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. Release notes Sourced from glob-parent's releases. v5.1.2 Bug Fixes eliminate ReDoS (#36) (f923116) Changelog Sourced from glob-parent's changelog. 5.1.2 (2021-03-06) Bug Fixes eliminate ReDoS...

dependencies

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....

dependencies

Hello, currently abstract class cant pass `transformAndValidate` type check. When `export declare type ClassType = new (...args: any[]) => T;`, abstract class validate can't pass type check. ```ts abstract class...

question

Using `class-transformer-validator` results in `google-libphonenumber` being included in the webpack bundle (even though tree shaking is enabled and no phone number validators are being used). This was fixed in `class-validator`...

enhancement
discussion

How about extending this project with some new decorators that would make use of the fact that both libraries are available? For example: instead of using `@Type(() => Foo)` and...

enhancement

I'm currently using this package with a helper to create type guards: ```ts /** Create a type guard function for a class decorated with validators. */ export function isValidFactory(classType: ClassType):...

enhancement