Closed charlesritchea closed 2 months ago
The deprecation comment is saying that
This function is being removed. The current implementation is incorrect as it modifies the source object.
According to the code there is no one-to-one replacement, which can be a problem if you need to populate an instance.
You can use plainToInstance
, but that will create a new instance.
Closing as answered. If you have any questions left feel free to comment on this issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I was trying to... deserialize a generic collection
The problem: plainToClassFromExist works, but is marked deprecated; however, I don't see any replacement