![](/img/trans.png)
[英]Protobuf message does not implement protoreflect.ProtoMessage (ProtoReflect method has pointer receiver)
我有一條導入"google/protobuf/any.proto"的 Protobuf 消息: 我正在嘗試使用 anypb 在data字段中序列化另一個 protobuf: 編譯后出現以下錯誤: 根據文檔,我在這里沒有做任何不尋常的事情。 我該如何解決這個問題? 這是我試圖序列化並存儲在data字 ...