gogo / letmegrpc

[maintainer wanted] generates a web form gui from a grpc specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

letmegrpc does not generate tooltips for imported proto objects

con-ji opened this issue · comments

commented

Given a.proto and b.proto, if b.proto imports a.proto and uses an object, say c, any comments within c from a.proto will not be generated.

a.proto:

message C {
    // This comment doesn't get turned into a tooltip
    required int64 something = 1;
}

b.proto:

message WrapperMsg {
    // This message does
    required a.C nested = 1;
}

Is it possible for the parser to process imported .proto files and their comments?

commented

Actually, expanding on this issue: comments in the wrapper class can somehow wind up in the nested message as well. Something's up with the .proto parser.

Could you provide the command you run to generate the code?