-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议:关于 seata-integration-tx-api 下的 GlobalTransactional 注解命名问题 #6951
Comments
This is a historical issue, the two annotations were in the spring module in the past, and it obviously made sense when it was in the spring module. With the evolution of technology, abstract out of the transaction mode unified API layer (seata-integration-tx-api module), these two annotations are frequently used by users of the API, in order to be compatible with the lower version of the API, we can not change the package name of the annotation. |
@slievrly 是不是可以旧的不变(可以考虑移到 spring 的模块下),新增两个中性的注解(同时保持旧的兼容)?。。。 从长久的未来看(10年,20年的长度看),完全是合适的。。。像 dubbo 就有几个相同意义的注解。 |
The above outlines the changes to Dubbo's service annotations. In fact, annotations like GlobalTransactional were not updated to the neutral package name during the package renaming process. The community had a meeting previously, and the conclusion was that the package name should be changed to a neutral name (before it was donated to ASF). I believe this change is necessary, as the community previously provided API support for TCC and other modes to avoid strong dependencies on Spring, so GlobalTransactional should not remain in the Spring package |
现有的注解:
是不是改为这样更合适?:
理由有二:
建议:
The text was updated successfully, but these errors were encountered: