Skip to content

Stabilize driver-agnostic core architecture #10

Open

Description

@piraz

Summary

Stabilize sqlok around a driver-agnostic core based on database/sql.

Goals

  • remove database driver dependencies from the core library
  • remove driver-specific bootstrap code from the core codebase
  • keep sqlok focused on query building, mapper behavior, session/unit-of-work behavior, and database/sql-based execution contracts
  • define what remains in core versus what must stay outside the project

Scope

  • refactor core code away from pgx-specific coupling
  • neutralize CLI/example paths that currently open concrete drivers in core
  • review schema loading and loader behavior for driver-agnostic boundaries
  • clarify the future boundary for real database integration testing

Out of scope

  • adding new vendor-specific adapters inside this project
  • implementing external adapter projects in this ticket

Expected outcome

  • sqlok core compiles and operates without bundling a concrete database driver
  • architecture and code boundaries are explicit enough to continue the cleanup safely

Activity

  1. self-assigned this
    on Jul 3, 2026
  2. added theissue type on Jul 3, 2026
  3. added this to the 0.0.1 milestone on Aug 23, 2026
  4. added and removed
    enhancementNew feature or request
    on Aug 23, 2026
  5. reopened this on Aug 23, 2026
  6. removed this from the 0.0.1 milestone on Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions