Closed yoohan-dex closed 6 years ago
@19majkel94 sorry... I meant that after validated and transformed the object, the function will return a new object that without properties I didn't define in type.
This lib is only a wrapper on class-validator
, so please go to it's repo and create a proposal for this behavior π
Ok thank you π
From yoohoo
On 26 Feb 2018, 03:57 +0800, MichaΕ Lytek notifications@github.com, wrote:
This lib is only a wrapper on class-validator, so please go to it's repo and create a proposal for this behavior π
β You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/19majkel94/class-transformer-validator/issues/9#issuecomment-368339272, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHNwuCc1-GCkZgi_uQgV7bXWUF-ktLIaks5tYbsMgaJpZM4SSVVN.
like yup noUnknown. not only validate the object but also remove properties I didn't define.