You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/01/03 03:52:59 UTC

[GitHub] [dubbo-js] liqian008 commented on issue #72: 现在支持上下文传输数据吗

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org