jhump/protoreflect

will return Symbol not found when the proto file has enum definition

nkguoym opened this issue · 1 comments

Hi, I am not sure whether anyone else encounter this issue.
When there is an enum definition in the proto file, I will get "Symbol not found: " in function getAndCacheFileDescriptors

such as common.proto

`
syntax = "proto3";

package proto;

enum MeasureType {
HOURLY = 0;
DAILY = 1;
WEEKLY = 2;
MONTHLY = 3;
}

... other code
`
Thanks in advance, please give me some direction to solve this problem. I am using grpcurl to do some work ,but found the error in this step.

no problem, I used a wrong way.