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

Automatically generate database queries #827

Open
jalextowle opened this issue Jun 9, 2020 · 0 comments
Open

Automatically generate database queries #827

jalextowle opened this issue Jun 9, 2020 · 0 comments
Labels
tech debt A code quality issue is not urgent but could cause problems down the line if not addressed

Comments

@jalextowle
Copy link
Contributor

PR #793 introduced a large change to Mesh that completely overhauled the database layer. In the file db/sql_implementation.go, several handwritten queries were created. These queries could create maintenance issues down the road, and it would ultimately be safer to use a different solution to generate these queries.

One solution to this problem would be to use an ORM of some kind to automagically generate the queries.

@jalextowle jalextowle added the tech debt A code quality issue is not urgent but could cause problems down the line if not addressed label Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech debt A code quality issue is not urgent but could cause problems down the line if not addressed
Projects
None yet
Development

No branches or pull requests

1 participant