protoc 不支持proto3的optional字段

Open
#282 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the failure through protoc.load with a proto3 message containing an optional field, then trace how the loader handles proto3 field labels. Done means the definition loads without reporting that proto3 disallows optional fields, with coverage for this input.

Written by the indexing model from the issue text.

Description

question

使用protoc.load一个proto3 消息定义,里面如果有optional字段,会报proto3 disallow 'optional' label

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.