You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`@TransformClassToPlain`|`@TransformClassToPlain({ groups: ["user"] })`| Transform the method return with instanceToPlain and expose the properties on the class. |
791
-
|`@TransformClassToClass`|`@TransformClassToClass({ groups: ["user"] })`| Transform the method return with instanceToInstance and expose the properties on the class. |
792
-
|`@TransformPlainToClass`|`@TransformPlainToClass(User, { groups: ["user"] })`| Transform the method return with plainToInstance and expose the properties on the class. |
790
+
|`@TransformInstanceToPlain`|`@TransformInstanceToPlain({ groups: ["user"] })`| Transform the method return with instanceToPlain and expose the properties on the class. |
791
+
|`@TransformInstanceToInstance`|`@TransformInstanceToInstance({ groups: ["user"] })`| Transform the method return with instanceToInstance and expose the properties on the class. |
792
+
|`@TransformPlainToInstance`|`@TransformPlainToInstance(User, { groups: ["user"] })`| Transform the method return with plainToInstance and expose the properties on the class. |
793
793
794
794
The above decorators accept one optional argument:
795
795
ClassTransformOptions - The transform options like groups, version, name
0 commit comments