jhump / protoreflect

Reflection (Rich Descriptors) for Go Protocol Buffers
Apache License 2.0
1.35k stars 172 forks source link

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

Closed nkguoym closed 4 months ago

nkguoym commented 4 months ago

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.

nkguoym commented 4 months ago

no problem, I used a wrong way.