You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I have quite a lot of enums of string used on my project
example: enum Corpus { INSTANT = "INSTANT", FULL = "FULL", }
but, as far as I see in the .proto file allow use only. enum Corpus { INSTANT = 0; FULL = 1; }
but that means I need to rethink the way I write enum. but It impossible, so maybe anybody could advise me on how to get/create an enum of strings through .proto file?
The text was updated successfully, but these errors were encountered:
Hi there,
I have quite a lot of enums of string used on my project
example:
enum Corpus {
INSTANT = "INSTANT",
FULL = "FULL",
}
but, as far as I see in the .proto file allow use only.
enum Corpus {
INSTANT = 0;
FULL = 1;
}
but that means I need to rethink the way I write enum. but It impossible, so maybe anybody could advise me on how to get/create an enum of strings through .proto file?
The text was updated successfully, but these errors were encountered: