Closed yeshamavani closed 5 months ago
Describe the bug Remove the logic from the repositories and move it to a separate service. Also add the test cases wherever necessary.
eg :- https://github.com/sourcefuse/loopback4-microservice-catalog/blob/master/services/authentication-service/src/repositories/user.repository.ts
To Reproduce Steps to reproduce the behavior:
Expected behavior We should follow SOLID and repositories should not have business logic within them.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
repositories to be updated:
Along with these, the respective sanbox examples will also be updated.
sandbox examples to be updated:
Describe the bug Remove the logic from the repositories and move it to a separate service. Also add the test cases wherever necessary.
eg :- https://github.com/sourcefuse/loopback4-microservice-catalog/blob/master/services/authentication-service/src/repositories/user.repository.ts
To Reproduce Steps to reproduce the behavior:
Expected behavior We should follow SOLID and repositories should not have business logic within them.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.