嵌套时,decode会失败,提示 type mismatch for repeated field

Open
#273 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
lua
Domain
backend

Research direction

Start by obtaining the attached definitions for item.proto and itemshop.proto, then reproduce the decode operation that reports a type mismatch for the nested repeated items field. Done means the nested message decodes successfully without the repeated-field type error.

Written by the indexing model from the issue text.

Description

question

如果2个proto文件
item.proto
image
itemshop.proto
image
decode时候,提示items类型识别不到,请问怎么办?

Dominant language
Lua
Stars
1.9k
Forks
400
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from starwing/lua-protobuf

All issues in starwing/lua-protobuf

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.