liqian008 commented on issue #72: 现在支持上下文传输数据吗 URL: https://github.com/apache/dubbo-js/issues/72#issuecomment-570452763 > ```js > const dubbo = new Dubbo({ > //todo > }); > > dubbo.use(async(ctx, next) => { > const uuid = uuid(); > ctx.attachments({ > uuid > }) > await next(); > }) > ``` 按此方法调用有报错(attachment非function),但按https://github.com/apache/dubbo-js/issues/36 调用成功。
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
