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,9 @@
|
||||
|
||||
«
|
||||
codegen/data/test_map.proto roto.test"y
|
||||
MapTest4
|
||||
my_map (2.roto.test.MapTest.MyMapEntryRmyMap8
|
||||
|
||||
MyMapEntry
|
||||
key ( Rkey
|
||||
value (Rvalue:8bproto3
|
||||
Reference in New Issue
Block a user