Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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