Closed wanghongzhou closed 3 months ago
/home/runner/work/incubator-seata/incubator-seata/compatible/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java:[97,46] incompatible types: int cannot be converted to boolean
/home/runner/work/incubator-seata/incubator-seata/compatible/src/main/java/io/seata/spring/annotation/GlobalTransactionScanner.java:[97,46] incompatible types: int cannot be converted to boolean
Resolved
Ⅰ. Description of this PR
This PR introduces changes related to the
exposeProxy
attribute handling.Ⅱ. Does this pull request fix one issue?
Yes, this pull request addresses the issue reported in 6562
Ⅲ. Why don't you add test cases (unit test/integration test)?
As this PR is primarily about configuring the
exposeProxy
attribute, which is more of a configuration change rather than functional changes in the code logic, adding test cases does not apply directly.Ⅳ. Describe how to verify it
To verify the changes introduced by this PR, follow these steps:
exposeProxy
attribute.exposeProxy
attribute is functioning as expected.Ⅴ. Special notes for reviews
The changes made in this PR primarily focus on adding support for configuring the
exposeProxy
attribute. It ensures that theexposeProxy
setting is correctly applied in the context of theGlobalTransactionScanner
to facilitate the proper functioning of annotations like@GlobalTransactional
. TheexposeProxy
attribute allows obtaining the proxy object, enabling annotations to function correctly in scenarios where method calls within the same class are involved.