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

泛化调用hessian解析map[int]int的问题 #865

Closed
jack15083 opened this issue Nov 10, 2020 · 2 comments · Fixed by #928
Closed

泛化调用hessian解析map[int]int的问题 #865

jack15083 opened this issue Nov 10, 2020 · 2 comments · Fixed by #928
Assignees
Labels
help wanted Extra attention is needed improve Refactor or improve

Comments

@jack15083
Copy link
Contributor

jack15083 commented Nov 10, 2020

What happened:
provider
image
泛化调用返回
{"": 1001}
image

What you expected to happen:
期望返回{1:1001}

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
dubbo-go version 1.5.1

@jack15083
Copy link
Contributor Author

这里的代码问题,map会被强制转成map[string]interface{}
image

@fangyincheng
Copy link
Contributor

这个map的case转换逻辑没有完善,这里应该是继续递归解析map的key和value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed improve Refactor or improve
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants