• Adam Cozzette's avatar
    Fixed references to foreign nested messages with CommonJS-style imports · 4a4a1627
    Adam Cozzette authored
    A bug was causing generated JSPB code with CommonJS-style imports to
    refer incorrectly to nested messages from other .proto files. The
    generated code would have things like "test_pb.InnerMessage" instead of
    "test_pb.OuterMessage.InnerMessage". This commit fixes the problem by
    correctly taking into account any message nesting.
    4a4a1627
test2.proto 2.29 KB