如果内部消息与外部消息具有相同名称,则内部消息会污染外部消息。
作者: yunnysunny创建于 2018年1月27日更新于 2026年7月14日
标签bugbreaking change9.x
The `User` message is defined in `ForbidUserListRes`, and a same name one is defined in the outer. And I expect the `update_user_info` field to use the outer one, but after encoding a `ResponsePackage` and then decoding it, I found it uses the inner one.
内容来源: protobufjs/protobuf.js