C
C#2y ago
nobody

PartialType from Nest.js in Csharp

Is there is a possibility to recreate a behaviour like the partialType from Nestjs (=> https://docs.nestjs.com/openapi/mapped-types#partial )? This is used to create a DTO from an existing DTO which has the same properties but all are optional. Perfect for a PostCustomerDto where all properties have to be provided, and the UpdateCustomerDto has the same but nullable. I am a nodejs dev starting with .NET
0 Replies
No replies yetBe the first to reply to this messageJoin