a20eed7223
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.
8 lines
93 B
Protocol Buffer
8 lines
93 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package roto.test;
|
|
|
|
message MapTest {
|
|
map<string, int32> my_map = 1;
|
|
}
|