David Ferencz

Results 49 comments of David Ferencz

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...

Closing as answered. If you have any questions left feel free to comment on this issue.

I think you need the option `exposeDefaultValues: true` to get your expected result!

It seems that, when used together with `exposeUnsetFields:false`, `exposeDefaultValues:false` does not work as expected. I think this should be checked.

Hi @andreasvh-conceto, Thank you for the detailed issue and sorry for a late reply. The error you got is a typescript error and nothing to do with this library. The...

Hello @andreasvh-conceto, if you provide `@Expose({name: "myPropertyName"})` decorator to the `name` property, when calling `plainToInstane`, it will expect your plain to have a property called 'myPropertyName' instead of the real...

The issue does not contain a simple reproduction case. Closing as invalid.

Hello @MarcoLopes389, if this issue is still relevant and unsolved on your side, could you please provide a bit more information? From this example I cannot reproduce your error, because...

Hi @mrbrunelli, I think your example implements the 'discriminator object' feature but using Transform instead of Type. [Read more](https://github.com/typestack/class-transformer?tab=readme-ov-file#providing-more-than-one-type-option).

Thank you @ElPerenza for your answer. Closing as invalid.