This fixes grpcurl failures when describing messages with multiple fields of the same type.
Detail
Types reused multiple times in another message were resulting in redundant dependencies in the file descriptors. This caused grpcurl describe calls to fail with:
Summary
This fixes
grpcurl
failures when describing messages with multiple fields of the same type.Detail
Types reused multiple times in another message were resulting in redundant dependencies in the file descriptors. This caused grpcurl describe calls to fail with:
This PR fixes this by deduplicating dependencies per file descriptor.
Unit test
Added test cases with a
HelloReply
message containing multiplegoogle.protobuf.StringValue
fields.Before fix:
After fix: