Closed notanthony closed 1 year ago
Added two recursive functions
generateNestedProtoMessageOutput generates the nested protopack.Message. To avoid large nesting instead of doing
protopack.Message{ protopack.Tag{... protopack.Message{ ... protopack.Tag{... protopack.Message{
I used an array as an intermediary
generateNestedFieldConverterStr generated the converters for each level. This is necessary in order to obtain the innermost field.
Looks like it works!
Added two recursive functions
generateNestedProtoMessageOutput generates the nested protopack.Message. To avoid large nesting instead of doing
I used an array as an intermediary
generateNestedFieldConverterStr generated the converters for each level. This is necessary in order to obtain the innermost field.
Looks like it works!