Snow-kal opened a new pull request, #1635: URL: https://github.com/apache/dubbo-admin/pull/1635
**Please provide a description of this PR:** 相关 issue https://github.com/apache/dubbo-go/issues/3742 让 Admin 明确选择调用模式,并展示序列化信息。 更改内容: 1. 请求增加 generic 字段 默认是 "true",支持 Gson、Bean、Protobuf JSON 和 "false" 普通调用;保留 legacy "protobuf" 的 API 兼容输入。未知模式会返回 data.field="generic",不会发起 RPC。 2. 后端按所选模式调用 泛化模式通过 SDK 的 WithGenericType 传递;"false" 调用真实方法名,不走 $invoke。请求中的模式优先于 attachments 中的同名值。 3. 展示序列化配置与调用信息 保留原有自动选择和重试逻辑,没有新增手动选择序列化的功能。响应增加 generic、protocol、serialization;失败时也能展示已尝试的调用信息,客户端初始化失败则不虚构实际值。 4. 调试页面增加控制与展示 增加模式下拉框、实例序列化配置和结果信息。provider 能力未确认时明确提示;结果使用请求发出时的模式,切换选项不会改变上一笔结果的标签。 5. 补充回归测试与 mock 覆盖模式校验、SDK 调用行为、序列化重试记录,以及前端请求和结果展示。 **To help us figure out who should review this PR, please put an X in all the areas that this PR affects.** - [ ] Docs - [ ] Installation - [x] User Experience - [ ] Dubboctl - [ ] Console - [ ] Core Component -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
