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

Add shim file for browsers

Open javifm86 opened this issue 2 years ago • 0 comments

Is there an existing issue that is already proposing this?

  • [X] I have searched the existing issues

Is your feature request related to a problem? Please describe it

Creating a shim file with a reduced size for the browser would be a nice to have.

Describe the solution you'd like

Create a shim file for each decorator, using the same approach as @nestjs/swagger package.

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

I would like to reuse dtos files between frontend and backend projects. Opening issue before creating a PR to check if it would be a good idea.

javifm86 avatar Mar 01 '23 21:03 javifm86