AndreyAttr / Evo

Evo repo
MIT License
0 stars 1 forks source link

ObjectHelper.deepCopy() #76

Closed AndreyAttr closed 7 years ago

AndreyAttr commented 7 years ago
AndreyAttr commented 7 years ago

Overloads doesn't work:

//Workaround: commented, because overload doesn't work with generic types. It works properly with non-generic types
//Workaround: but it sees only first version of overload for generics and doesn't see others.

Logic for this task has finished, but we have some parts of application which must be refactored to apply these new changes, as descriebed into https://github.com/AndreyAttr/Evo/issues/65. Actually, untill we merge these changes to angular branch it's a blocker task

tapy-lappy commented 7 years ago

I found not obvious problems with deepCopy(). Problems in following:

original_item

deep_copy

AndreyAttr commented 7 years ago

No, that workaround is unappropriate. It will cause many problems in future. I have to reject. Will try to find other solution

AndreyAttr commented 7 years ago

This issue is a blocker for #65

AndreyAttr commented 7 years ago

So pull request #90 about workaround may be rejected - this is correct aproach which fixed @tapy-lappy 's comment https://github.com/AndreyAttr/Evo/issues/76#issuecomment-321009387