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 2019/05/23 16:19:23 UTC

[GitHub] [incubator-dubbo-js] creasy2010 commented on issue #101: enum好像现在不能用,序列化的内容格式有问题

creasy2010 commented on issue #101: enum好像现在不能用,序列化的内容格式有问题
URL: https://github.com/apache/incubator-dubbo-js/issues/101#issuecomment-495287375
 
 
   @sunchuanleihit 我找了两个例子分别 对应 number与string类型的. 是可以的呀 . 
   能把你不行的例子发出来吗 ? 
   ```typescript
   export enum OnOff {
     OFF = 1,
     ON = 0,
   }
   //generate by interpret-cli dubbo2.js
   
   export enum FlowState {
     INIT = 'INIT',
     DELIVERED = 'DELIVERED',
     COMPLETED = 'COMPLETED',
     CONFIRMED = 'CONFIRMED',
     AUDITED = 'AUDITED',
     VOID = 'VOID',
   }
   //generate by interpret-cli dubbo2.js
   
   
   ```

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