In NestJS application, right now I am using class-validator to validate DTO and request payload. Is there any benefits if I shift to @nestjs/class-validator?
I found both packages are same.
#edited Later I found @nestjs/class-validator is maintained by nestjs which is especially designed for nestjs projects. And @nestjs/class-validator is more updated/maintained one.
as of now, @nestjs/class-validator
is just a fork to keep class-validator
dependencies up to date.
You can see all of non-updates changes here: https://github.com/nestjs/class-validator/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Amerged+-author%3Aapp%2Frenovate+-author%3Aapp%2Fdependabot+