-
Notifications
You must be signed in to change notification settings - Fork 790
Closed
Description
When using the grpc-web protoc plugin, the files generated need to be packed using Closure Compiler. Unfortunately it doesn't really support recursive definitions of protobuf messages, i.e.
Message Node
{
oneof Contents {
List list = 1;
Value val = 2;
}
}
Message List {
repeated Node = 1;
}
.....
To represent data structures that are similar to JSON, the structure above is needed. The C++ plugin of protoc supports it, but Closure Compiler does not.
The feature request is to enable such a structure by either generating JS code that uses something other than Closure Compiler, or expand Closure Compiler's functionality to support it.
thomasetter, adam-rocska and potan
Metadata
Metadata
Assignees
Labels
No labels