FasterXML / FasterXML/jackson-dataformats-binary

[protobuf] can't parse `reserved` field

未关闭
#84 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
protobuf
主要语言
Java
星标
347
派生
156
平均合并
3 天 3 小时
30 天内合并 PR
22

描述

This is a Protoparser problem that it failed to parse `reserved` field.

Reserved field is explained in the official document.
https://developers.google.com/protocol-buffers/docs/proto#reserved

```
va.lang.IllegalStateException: Syntax error in Unnamed-protobuf-schema at 389:11: unexpected label: reserved

at com.squareup.protoparser.ProtoParser.unexpected(ProtoParser.java:948)
at com.squareup.protoparser.ProtoParser.readDeclaration(ProtoParser.java:197)
at com.squareup.protoparser.ProtoParser.readMessage(ProtoParser.java:219)
at com.squareup.protoparser.ProtoParser.readDeclaration(ProtoParser.java:153)
at com.squareup.protoparser.ProtoParser.readProtoFile(ProtoParser.java:92)
at com.squareup.protoparser.ProtoParser.parse(ProtoParser.java:61)
at com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchemaLoader._loadNative(ProtobufSchemaLoader.java:167)
at com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchemaLoader._loadNative(ProtobufSchemaLoader.java:161)
at com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchemaLoader.loadNative(ProtobufSchemaLoader.java:135)
at com.fasterxml.jackson.dataformat.protobuf.schema.ProtobufSchemaLoader.load(ProtobufSchemaLoader.java:80)
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。