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:
2026-05-07 20:15:08 -07:00
parent 8395195ac1
commit a20eed7223
6 changed files with 167 additions and 16 deletions
+7
View File
@@ -0,0 +1,7 @@
syntax = "proto3";
package roto.test;
message MapTest {
map<string, int32> my_map = 1;
}