MoChengqian commented on issue #3259:
URL: https://github.com/apache/dubbo-go/issues/3259#issuecomment-4177424001

   建议实施方案:
   短期:老接口做兼容
   长期:老接口做兼容,新接口对标Dubbo-Java,业务用类似 DTO结构体,非业务上下文用 attachment.对标 
Java,把“业务参数对象化、上下文走 attachment/IDL”这套搬过来,不会丢掉 Go 
的核心优势;主要失去的是一点本地调用简洁性,改动也不算很大,换来的是更稳定的跨语言和泛化调用体验.
   现在有些历史接口更像 Go 本地风格和 legacy Dubbo/Hessian 兼容产物,这个长期修改方案向官方文档里推荐的的IDL靠近.
   
   <img width="1463" height="860" alt="Image" 
src="https://github.com/user-attachments/assets/acd5053d-2033-494a-8c4e-16c6fb991a3e";
 />
   


-- 
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]

Reply via email to