-
Notifications
You must be signed in to change notification settings - Fork 195
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
支持motan rpc框架 #46
支持motan rpc框架 #46
Conversation
coderDylan
commented
Aug 8, 2023
- Added support for motan rpc framework
- Fixed several bugs
2.解决motan插件子调用时mock的问题
2.修复motan provider端返回值获取的bug
2.兼容接口方法有重载的情况
我看是不是把个人数据库账号密码提交上来了?需要删除吗 |
那个我应该已经脱敏过了的,都是本地测试的环境,风险还好 |
@yananliuyanjiang 抽空帮忙review一下 |
OK |
@@ -249,6 +250,7 @@ public boolean saveData(RecordWrapperEntity wrapper) { | |||
entity.setResponse(wrapper.getResponse()); | |||
|
|||
try { | |||
//TODO 这里会莫名奇妙的把response字段转义 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这是bug还是?是否影响正常功能?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个地方是这样的,如果RPC接口方法响应结果是纯字符串类型的,会自动给加上转义字符。当然,通常一般公司定义RPC接口方法返回类型都会是定义的POJO包装类型,不会直接返回一个String。
这个转义字符,会导致在结果对比的时候对比是通过的,但是diff界面上会出现不一致提示,视觉上有点影响。这个转义字符的问题,我在其他地方做了特殊处理,已经解决了