NestJS optional Body Fields
How can i accept a partial object as Body using NestJS
when i send the request body
{"name":"test","email":"test"}
it prints UpdateUserDto {}
, but i expect UpdateUserDto {name: "test", email: "test", password: null}
what am i doing wrong ??1 Reply
I found this option, but it doesn't work either.