deepcopy icon indicating copy to clipboard operation
deepcopy copied to clipboard

Make deepcopy handle protobufs nested in structs correctly.

Open chronologos opened this issue 5 years ago • 1 comments

They should be deep copied using proto.Clone which uses protoreflect under the hood. https://blog.golang.org/protobuf-apiv2

chronologos avatar Aug 27 '20 18:08 chronologos

Good to know, but this should be kept in a fork of this project to not add a dependency in this package.

dolmen avatar Oct 19 '20 10:10 dolmen