midway icon indicating copy to clipboard operation
midway copied to clipboard

[QUESTION]grpc-helper一些疑问

Open xmsz opened this issue 4 years ago • 0 comments

第一个:ignore传入数组时未正确判断

然后 compiler这句确实不能支持多目录 image

Originally posted by @xmsz in https://github.com/midwayjs/midway/discussions/1327#discussioncomment-1476108


第二个:import后包后未正确识别或者说是不是应该没有这句

import "rank.proto"

结果变成

image

感觉如果import了就不用再导入了


第三个:如何支持wrapper?

import "google/protobuf/wrappers.proto";
message Test {
  google.protobuf.Int32Value a = 1;
}

预期是

 a: number

不过这个不好说

xmsz avatar Oct 14 '21 10:10 xmsz