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

Database gateway needs refactoring #29

Closed
SirRAL opened this issue Dec 2, 2021 · 1 comment
Closed

Database gateway needs refactoring #29

SirRAL opened this issue Dec 2, 2021 · 1 comment

Comments

@SirRAL
Copy link
Contributor

SirRAL commented Dec 2, 2021

The gateway interface is fully implemented as a MySQL-linked class-like. It needs to be separated out as a database-agnostic boundary that 1) doesn't implement any database specific syntax, that should be done by an implementer 2) doesn't reference any Entities in order to respect Clean Architecture.

@AbdusShaikh
Copy link
Contributor

Database gateway now implements the separate interface "DataBaseTools".
This change means a new gateway can be built off of DataBaseTools, and so coupling between the database and program is reduced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants