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
{{ message }}
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
The endpoint service currently abstracts the use of the database service. Because of this, all of the parameters passed to endpoint service methods are all passed to the database service.
This is an example of the "Middle Man" code smell. To fix it, one can use Remove Middle Man.
A better pattern would be to pass a query from the database service to the endpoint service, which would reduce the signature of every endpoint service call to just a single query parameter.
The text was updated successfully, but these errors were encountered:
The endpoint service currently abstracts the use of the database service. Because of this, all of the parameters passed to endpoint service methods are all passed to the database service.
This is an example of the "Middle Man" code smell. To fix it, one can use Remove Middle Man.
A better pattern would be to pass a query from the database service to the endpoint service, which would reduce the signature of every endpoint service call to just a single
query
parameter.The text was updated successfully, but these errors were encountered: