-
Notifications
You must be signed in to change notification settings - Fork 154
feat: Use services in runtime instead of repo-factories #149
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
Conversation
Pull Request Test Coverage Report for Build 1845719243
💛 - Coveralls |
sravankorumilli
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Can someone help me understand this refactoring? Are we doing this to avoid repetitive code in |
|
@sbchaos can add more details |
|
@sravankorumilli what business logic are we talking about? I mostly see getters and setters only. What I mean is this code appears to be used only in |
|
Its not about calling getters or setters, its mainly about what is the scope at each layer. |
|
Umm, still not convinced but it's all right, not a big deal. 😄 Thanks for the explanation though! |
|
@sravankorumilli using services in other services instead of repo is fine. But I am also not convinced on a generic service package. |
|
sure, as of now for the three tier architecture we need 3 seperate modules for sure, in the current structure they are api, service(new_one) store(persistence) layer. By respecting this architecture we can keep the domain flowing too in the packages/file names is what we are heading towards. Let us know if you find any challenges with this. We will always revisit our decisions periodically make the respective changes, I believe for now we can go ahead with this structuring. |
No description provided.