booster icon indicating copy to clipboard operation
booster copied to clipboard

Replace custom instance creation with class-transformer

Open NickSeagull opened this issue 2 years ago • 6 comments

Currently we're creating a lot of class instances in the core using our own functions that do deep cloning, etc.

This is very brittle as we're not sure that we are covering all the edge cases of class instance creation.

Libraries like class-transformer are specialized on this and make the life easier

NickSeagull avatar Jan 31 '23 16:01 NickSeagull

Hey I have worked on around 7-8 company based project, but never countribute to open source, this is my first time can you assign me this task.

Gingaaa avatar Jul 31 '23 18:07 Gingaaa

I wanna give this issue a try , can you please assign this issue to me @NickSeagull

ironspec07 avatar Oct 12 '23 10:10 ironspec07

Woops, got lost in the notifications. Anyone available? I'll assign to the first one who replies 🙏

NickSeagull avatar Oct 16 '23 11:10 NickSeagull

@NickSeagull with my limited knowledge , I understand that using the class-transformer it will simplify the process of creating class instances, especially when dealing with complex scenarios like deep cloning. But not stated clearly whether the changes have to be made in whole source code or a specific file ?

v-aryan avatar Jan 08 '24 19:01 v-aryan

@NickSeagull i am new to opensource. Can i give it a try?

kmr-ankitt avatar Jun 14 '24 15:06 kmr-ankitt