Is there an existing issue that is already proposing this?
I have searched the existing issues
Is your feature request related to a problem? Please describe it
I spend a frustrating few hours wondering why my Expose() decorator was not being honoured. I was using the @nestjs/class-transformer package which felt appropriate. However the ClassSerializerInterceptor class from @nestjs/common does not read this meta data store by default.
This is incongrous and has caused many members of my team to hit the same problem.
Describe the solution you'd like
The README needs to be clear why this package exists, and why is it better then class-transformer, but most importantly, how should it be enabled, and how to handle libraries that might use class-transformer decorators.
Is there an existing issue that is already proposing this?
I have searched the existing issues
Is your feature request related to a problem? Please describe it
plainToClass is incorrectly named. class-transformer has since provided a properly named plainToInstance function with seemingly identical interface. Please pull in this change from upstream.
Describe the solution you'd like
Pull in plainToInstance from upstream class-transformer repo
What is the motivation / use case for changing the behavior?
Accuracy of function names
Minimize difference between class-transformer and @nestjs/class-transformer
This bug means we need to blacklist class-transformer from our imports, which means either @nestjs/class-transformer updates to include the correct interface or we revert to the inaccurate interface