Closed
Description
In V5 the ctor would either support string value or int value of an enum. in 6.2.1 string value is not supported when parsing from JSON. Would love to get that functionality back
message MyMessage {
enum Type {
CAT = 0;
DOG = 1;
}
optional Type type = 1;
}
MyMessage.create({ type: 'DOG' });
does not work.