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/25 02:23:00 UTC

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

Jimin Wu created SCB-2128:
-----------------------------

             Summary: 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
             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)