Open JonathanAquino opened 3 years ago
Note that the reprint deep-copy library does not have this problem:
https://play.golang.org/p/_vfUwBVw5oi
cc @qdm12
I think that's why I started that reprint
library, as other libs wouldn't deep copy pointers properly... although I haven't touched in for more than a year, I have no idea how I coded that 😄
Reproducible Example
https://play.golang.org/p/x1EO_KR_ARr
Description
When I ask copier to DeepCopy a struct with a property that is an interface pointer, that property is not copied properly.
The expected output of the Golang Playground example above is:
But the actual output is: