Copying Go generated messages

13 views
Skip to first unread message

Toby Hobson

unread,
Apr 13, 2023, 8:44:38 AM4/13/23
to grpc.io
I'd like to pass a protoc generated message by value, but I can't do so because the messages include pragma.DoNoCopy.

Does anyone know why the generated code includes DoNotCopy and if there are any practical workaround that would allow me to clone a message?

Thanks
Reply all
Reply to author
Forward
0 new messages