Refactor: Refactoring the `Result` Class
Why you need it?
Please check the comments on the PR.
- https://github.com/apache/incubator-seata/pull/7157#issuecomment-2650089338
How it could be?
I want to use type effectively in the Result object, just like in SimpleResult.
One idea I have is to move APIs like success from SimpleResult to Result.
@funky-eyes
I’d like to proceed once both tasks are completed. Please assign me to this issue.
Thank you! ☺️
- https://github.com/apache/incubator-seata/issues/6774
- https://github.com/apache/incubator-seata/pull/7133
Well done, looking forward to your PR.
@xingfudeshi
If you're interested, please review PR I created 🙂
- https://github.com/apache/incubator-seata/pull/7176
@xingfudeshi
If you're interested, please review PR I created 🙂
- https://github.com/apache/incubator-seata/pull/7176
Sure!
I want to know which modules are currently involved in refactoring and the classes involved, as we need to understand the scope of this issue.
I want to know which modules are currently involved in refactoring and the classes involved, as we need to understand the scope of this issue.
I refactored the Result class along with its subclasses.
Consequently, the common, console, namingserver, and server modules, which depend on these classes, were also part of the refactoring.
OK, I believe the impact of this change is within a controllable range. You can complete this change through multiple PRs, either by module or by dependency.
OK, I believe the impact of this change is within a controllable range. You can complete this change through multiple PRs, either by module or by dependency.
Is it correct to address the impact of this PR through multiple PRs?
If I’ve misunderstood, could you please provide further clarification?
OK, I believe the impact of this change is within a controllable range. You can complete this change through multiple PRs, either by module or by dependency.
Is it correct to address the impact of this PR through multiple PRs? If I’ve misunderstood, could you please provide further clarification?
Yes, you can gradually complete the refactoring through multiple PRs.
Yes, you can gradually complete the refactoring through multiple PRs.
Whenever you have time, could you create an issue related to this? I’d also really appreciate it if you could add it as a sub-issue under the main one. 🙂
@funky-eyes
If you could clarify which specific areas this PR affects, I'll review it and create an issue before proceeding with the work. I'm still not sure which areas this PR affects. 😅
I see that you've submitted a PR, but I'm not quite sure what exactly you need me to confirm or check for you.
I see that you've submitted a PR, but I'm not quite sure what exactly you need me to confirm or check for you.
You mean the PR or the comment?
@funky-eyes
For the PR, I have refactored the Result class according to the discussion we had in the comments.
- https://github.com/apache/incubator-seata/pull/7157#issuecomment-2650089338
Please review that part when you get a chance.
Also, in your comment, you mentioned that my PR affects other parts, but I wasn’t sure exactly which areas you were referring to. Could you clarify which parts are impacted?
- https://github.com/apache/incubator-seata/issues/7158#issuecomment-2676123659
My point is that, based on the scope of changes you described (the Seata module), the impacted areas appear to be within the expected scope.