SimpleProtos icon indicating copy to clipboard operation
SimpleProtos copied to clipboard

Is it possible to have repeated fields of different types with this library?

Open StargazerAlex opened this issue 2 years ago • 0 comments

Hi Flawww!

I recently discovered this library and immediately became a big fan of its simplicity! For the project I am currently working on I want to parse a single type of protobuf files and I really don't want to include the whole google protobuf framework just for that.

However, I am having trouble deserializing the entire protobuf file I am working with as it contains one repeated field that contains around 15 other fields of varying types. it has everything from single integers to repeated string vectors.

I guess in Google's protobuf that would be solved with an ANY field but I did not find an equivalent in your code. Is it possible at all?

Thanks a lot in advance!

StargazerAlex avatar Aug 25 '23 14:08 StargazerAlex