apache / dubbo-js

The Typescript implementation of Apache Dubbo. An RPC and microservice framework for Node.js and Web development.
https://dubbo.apache.org/
Apache License 2.0
766 stars 160 forks source link

DirectlyDubbo不支持attachment 字段吗 #211

Closed springJia closed 4 years ago

springJia commented 4 years ago

请问DirectlyDubbo是否可以支持上下文传输数据 如 attachment 字段

springJia commented 4 years ago

如果可以在proxyService下面加一个类似这样的: ctx.attachments = args.shift();

hufeng commented 4 years ago

@springJia Let me check it。Directlydubbo is generally used for local debugging, but Dubo is still used production.

hufeng commented 4 years ago

@springJia oops, Yes, DirectlyDubbo was not supported attachment, Let me fixed it.