Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

Illegal id -1 for reserved -1; #35

Closed
protobufjs/protobuf.js
#1214
@vivekragunathan

Description

@vivekragunathan

Getting the following error for a proto file with reserved -1.

Error while importing protos illegal id '-1' 

my.proto

syntax = "proto3";

....

message Status {
  enum Values {
    reserved -1;
    INVALID = 0;
    OK = 1;
    OK_BUT_WARNINGS = 2;
    ...
  }
}

....

Metadata

Metadata

Assignees

No one assigned

    Labels

    protobuf.js/unsupportedUnsupported feature of the underline Protobuf.js parser

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions