Skip to content
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

Move cheks for existing database resources to Middlewares instead of checking them on Repositories #37

Open
Brivan-26 opened this issue Sep 22, 2023 · 0 comments
Labels
good first issue Good for newcomers Refactor refactor

Comments

@Brivan-26
Copy link
Member

Brivan-26 commented Sep 22, 2023

Some repositories methods like this are checking for existing database resources, it is better to move the checks to a middleware in order to terminate the request as soon as possible.

@Brivan-26 Brivan-26 added good first issue Good for newcomers Refactor refactor labels Sep 22, 2023
@Brivan-26 Brivan-26 changed the title Move cheks for existing database resources to Middlewares instead of chacking them on Repositories Move cheks for existing database resources to Middlewares instead of checking them on Repositories Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Refactor refactor
Projects
None yet
Development

No branches or pull requests

1 participant