Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imp: convert attachments to map[string]string #127

Merged
merged 3 commits into from Sep 2, 2019

Conversation

fangyincheng
Copy link
Contributor

What this PR does:

Because the map can only be resolved to map[interface{}]interface{} in the hessian2, I must be convert to map[string]string.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@wongoo
Copy link
Contributor

wongoo commented Sep 1, 2019

@fangyincheng are you sure all the type of value of attachments will be string?

@fangyincheng
Copy link
Contributor Author

@fangyincheng are you sure all the type of value of attachments will be string?

yes, attachments is a part of dubbo protocol in java dubbo, it is map [string] string

request.go Show resolved Hide resolved
response.go Show resolved Hide resolved
request.go Show resolved Hide resolved
response.go Show resolved Hide resolved
@AlexStocks
Copy link
Contributor

LGTM

@AlexStocks AlexStocks changed the title Fix: fix attachments Imp: attachments Sep 2, 2019
@AlexStocks AlexStocks merged commit 28e1520 into apache:master Sep 2, 2019
@fangyincheng fangyincheng deleted the attachments branch September 2, 2019 13:20
@wongoo wongoo changed the title Imp: attachments Imp: convert attachments to map[string]string Oct 17, 2019
zhaoyunxing92 pushed a commit that referenced this pull request Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants