Open
Description
Description
The default behaviour of the plainToClass method is to set all properties from the plain object, even those which are not specified in the class.In our case, we make some Class as a validator, so other unknown properties are dangerous
Proposed solution
like @exclude() working whole Class, maby @expose() can do the same thing, otherwise we need add @expose() before every properties in validator Class