Add support for protobuf map fields
Update the generator to detect map fields and use MapFieldIterator. Implement MapFieldIterator in the runtime to handle key-value pair extraction and add write_map_entry to ProtoBuilder. Add tests to verify that map-bearing messages generate and compile correctly.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package roto.test;
|
||||
|
||||
message MapTest {
|
||||
map<string, int32> my_map = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user