Skip to content

Error using google.protobuf.Any #117

Description

@anri-asaturov

Sandbox: https://repl.it/repls/GleamingWhimsicalInformationtechnology

pbf fails to compile this proto


message RequestEnvelope {
    string correlationId = 1;
    string callPath = 2;
    google.protobuf.Any payload = 3;
}

with

./node_modules/pbf/compile.js:157
default:  throw new Error('Unexpected type: ' + field.type);
 
Error: Unexpected type: google.protobuf.Any
at compileFieldRead (./node_modules/pbf/compile.js:157:28)

Is it known that it's not supported or am I doing something wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions