You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to discuss my approach on this issue:
Create a new service/utility class to where this convertToOrgMemberDTO() function can be extracted. Since these functions are identical in both classes, extraction is straightforward.
Now we simply call the extracted function from both these classes.
However, if this approach creates a mismatch with the codebase's style, let me know if I should go with another approach.
Kindly assign this to me :)
Issue Description
Refactor the convertToOrgMemberDTO() method in both DashboardService and TeamMemberController to eliminate redundant code.
Expected Behavior
The implementation should be streamlined to avoid code duplication, enhancing maintainability.
Actual Behavior
Currently, the same convertToOrgMemberDTO() method is implemented in multiple places, leading to redundancy
The text was updated successfully, but these errors were encountered: