You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Jimin Wu (Jira)" <ji...@apache.org> on 2020/11/26 14:27:00 UTC

[jira] [Commented] (SCB-2128) support dynamic single value enum

    [ https://issues.apache.org/jira/browse/SCB-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239290#comment-17239290 ] 

Jimin Wu commented on SCB-2128:
-------------------------------

https://issues.apache.org/jira/browse/SCB-2132

> support dynamic single value enum
> ---------------------------------
>
>                 Key: SCB-2128
>                 URL: https://issues.apache.org/jira/browse/SCB-2128
>             Project: Apache ServiceComb
>          Issue Type: New Feature
>          Components: Java-Chassis
>            Reporter: Jimin Wu
>            Assignee: Jimin Wu
>            Priority: Major
>             Fix For: java-chassis-2.1.3
>
>
> It is not recommended to use java enum as a data transmission model
> Because once the producer increases the enum value, the consumer will directly throw an exception when deserializing
> Considering that in large projects, it is likely to encapsulate a layer of business framework on the servicecomb framework. If you increase the enum value, you need to wait for the new version of the business framework to be released, which is very inconvenient



--
This message was sent by Atlassian Jira
(v8.3.4#803005)