[System Information]
OS Version : Linux 6.6
NodeJS Version : v18.14.2
NPM Version : 9.5.0
[Nest CLI]
Nest CLI Version : 10.2.1
[Nest Platform Information]
platform-express version : 10.2.10
microservices version : 10.2.10
mapped-types version : 2.0.4
schematics version : 10.0.3
passport version : 10.0.3
terminus version : 10.2.0
swagger version : 7.1.16
typeorm version : 10.0.1
testing version : 10.2.10
common version : 10.2.10
config version : 3.1.1
core version : 10.2.10
cli version : 10.2.1
version : 2.0.0
Is there an existing issue for this?
Current behavior
Using ClassSerializerInterceptor and options.type: some class, groups rules are not applied
Minimum reproduction code
https://github.com/nestjs/nest/blob/180bdf67786f9b8e917e9d2f5e9d9598f7f40867/packages/common/serializer/class-serializer.interceptor.ts#L97
Steps to reproduce
No response
Expected behavior
Using ClassSerializerInterceptor and options.type: some class, groups are applied
Package
Other package
No response
NestJS version
10.2.10
Packages versions
Node.js version
v18.14.2
In which operating systems have you tested?
Other
No response