rmedvedev / grpcdump

Tool for capture and parse grpc traffic
MIT License
154 stars 23 forks source link

update to latest grpc protocol parser to support "optional" keyword again #16

Open cre4ture opened 2 months ago

cre4ture commented 2 months ago

This fixes issues with proto-files following latest proto file defintions that allow "optional" keyword again.

Error looks like this:

# ./grpcdump_main -color -p 50051 -proto-path=protos -proto-files=____.proto
FATA[0000] Proto files init error: ____.proto:xx:x: field ___.___: field has label LABEL_OPTIONAL, but proto3 must omit labels other than 'repeated'

Thanks for the great tool :-)