dennys-bd / dennys-bd/gonext

Tech debt: allow more database backends

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
tech-debt
Dominant language
Go
Stars
0
Forks
0
Avg merge
3h 1m
Merged PRs (30d)
29

Description

Tracked in `roadmap.md` *Tech debts* as: **"allow more db backends"**

Today the database layer is PostgreSQL-only: `pgxpool` wrapped as a `database/sql` handle for Bun (`templates/backend/internal/database/database.go`), with Bun's own migrator on top.

Related: the **Transactor** row in *Published Contract Candidates* is marked *Undecided* precisely because it hangs on this — the transaction-boundary port is genuinely generic across Bun, pgx and sqlc, but it fails the "someone outside would write one" bar unless multi-backend support actually materialises. Revisit that verdict here.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with roadmap.md and templates/backend/internal/database/database.go to understand the current PostgreSQL-only setup, including pgxpool, database/sql, Bun, and migrations. Define which additional backends and compatibility expectations are in scope before changing the database layer. Done means multi-backend support is implemented and the Transactor contract can be revisited with evidence that an external user could adopt it.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.