Why is Metadata still being used instead of Attributes in clientconn.go? #7585
Labels
Area: Client
Includes Channel/Subchannel/Streams, Connectivity States, RPC Retries, Dial/Call Options and more.
Type: Question
Description
While reading the
grpc-go
source code, I noticed that theMetadata
field inclientconn.go
has been marked as deprecated with a recommendation to useAttributes
instead. However, in the current implementation, particularly at line 923,Metadata
is still being used for comparison.Questions
Metadata
is marked as deprecated, are there plans to replace it withAttributes
in future versions?Metadata
in the code, such as backward compatibility or specific use cases?Additional Information
Thank you for your help and for the great work on this project! I’m looking forward to understanding the reasoning behind this decision.
The text was updated successfully, but these errors were encountered: