-
Notifications
You must be signed in to change notification settings - Fork 18
Reflect enums? #15
Copy link
Copy link
Open
Description
Using grpc.load() which seems to use protobufjs 5 gives me access to my enum definitions.
For example, I can do something like this:
> grpc.load('assemblyline.proto').assemblyline.WidgetColor
{ WIDGET_COLOR_UNPAINTED: 0,
WIDGET_COLOR_RED: 1,
WIDGET_COLOR_GREEN: 2 }
But when I use @grpc/proto-loader I can't find the enums.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels