typestack/class-transformer
Decorator-based transformation, serialization, and deserialization between objects and classes.
TypeScriptMIT
Pinned issues
Issues
- 1
Move some utilities from @nestjs/swagger to class-transformer, class-validator, or make them to be a standalone library
#1779 opened by finom - 1
question: invalid/ignore
#1752 opened by dlgoodchild - 0
fix: `plainToInstance` with discriminated type union with no matching `subTypes` silently returns DTO
#1762 opened by Woodz - 7
fix: Nested objects are empty in some cases when using serialization groups
#1746 opened by jlefebvre1997 - 1
适配鸿蒙bate2
#1737 opened by suifengwuhen - 0
- 3
feature: @Expose toInstanceOnly
#1731 opened by samislam - 3
feature: InstanceToPlain better return type
#1732 opened by samislam - 5
- 5
fix: exposeDefaultValues does not work
#1609 opened by js-d-coder - 0
fix: plainToInstance is not working correcly
#1744 opened by ingrocha - 4
fix: plainToInstance 实例化不到 @Expose() get xxx
#1726 opened by 2395000206 - 4
shit plainToInstance returen input
#1729 opened by xbyl1234 - 4
- 3
feature: Add type checking for data passed to
#1719 opened by scotch83 - 2
`Transform` decorator applies transformation multiple times on every `plainToInstance` call
#1720 opened by FurqanAthar3 - 3
What is the best way to nest properties ?
#1736 opened by victorantunesb - 1
- 0
question: release a new version?
#1725 opened by MoreBlood - 2
- 1
fix: Multiple Getter Calls in class-transformer
#1707 opened by JHyeok - 0
fix: allow plain to class to convert from Set to Set instead of from Set to Array
#1723 opened by onhate - 1
fix:
#1706 opened by ProductOfAmerica - 0
- 7
fix: plainToClass cannot handle URL values
#1648 opened by littlefyr - 4
- 3
- 3
- 5
- 3
Include @IsOptional values to the body if they are missing with default value
#1632 opened by AndonMitev - 5
- 2
fix: No Capability to BigInt?
#1702 opened by Slarper - 5
question: how to use exposing method inside a nested object array dto?
#1608 opened by andreasvh-conceto - 2
- 2
question: How to expose attr when plain object no define
#1615 opened by KokoTa - 4
Transform decorator in class-transformer does not wait for asynchronous function and returns a Promise instead of the transformed value
#1688 opened by bansiddha-indexnine - 3
question: Casting Json to the required datatype
#1682 opened by AhmedK-Fawry - 3
question: Options in @Transform Decorator Do Not Reflect Those Passed to plainToInstance in class-transformer
#1676 opened by Sygun - 3
plainToClassFromExist is Deprecated what is the replacement for generics?
#1653 opened by charlesritchea - 2
fix: Expose not working correctly with toClassOnly
#1692 opened by kpiatkowski - 4
instanceToPlain not working properly using nestjs
#1684 opened by AaronTrazona - 4
- 0
- 0
- 7
Cannot transform string to number
#1672 opened by stad-nico - 3
question: Getting `ReferenceError: Cannot access 'XXX' before initialization` in class circular dependency with Jest & Typescript
#1622 opened by Norlandz - 4
External Values are not stripped.
#1642 opened by HaaLeo - 4
fix: Can't use instanceToPlain with Nitro.js event.
#1635 opened by imcm7 - 2
- 2
Renamed property does not exist on type Class
#1610 opened by thewebartisan7