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
Some controller classes in the project currently use implementation classes of interfaces for dependency injection. While this method allows the project to function properly, it does not adhere to modern code layering practices and may lead to difficulties with future scalability and maintenance.
Optimize
I believe this section of the code should be refactored to clearly separate interfaces from their implementation classes, ensuring standardized usage.
Benfits
The refactored code offers several benefits:
It aligns with common project layering best practices;
Thanks to everyone for your code reviews and support during this process. I believe all the optimization tasks for this issue have been successfully completed. Feel free to close the issue whenever you're ready. @wodiwudi@gaoxh@sadadw1
Description
Some controller classes in the project currently use implementation classes of interfaces for dependency injection. While this method allows the project to function properly, it does not adhere to modern code layering practices and may lead to difficulties with future scalability and maintenance.
Optimize
I believe this section of the code should be refactored to clearly separate interfaces from their implementation classes, ensuring standardized usage.
Benfits
The refactored code offers several benefits:
Task
The text was updated successfully, but these errors were encountered: