LaurenceLiZhixin commented on code in PR #1804: URL: https://github.com/apache/dubbo-go/pull/1804#discussion_r841408221
########## protocol/invocation.go: ########## @@ -57,4 +58,6 @@ type Invocation interface { SetAttribute(key string, value interface{}) GetAttribute(key string) (interface{}, bool) GetAttributeWithDefaultValue(key string, defaultValue interface{}) interface{} + + ToContext() context.Context Review Comment: I changed to 'GetAttachmentAsContext', which is more clear. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org