Skip to content

docs(adr): add ADR 014 repository pattern over ORM#258

Merged
raaymax merged 3 commits into
devfrom
docs/adr-updates
Feb 8, 2026
Merged

docs(adr): add ADR 014 repository pattern over ORM#258
raaymax merged 3 commits into
devfrom
docs/adr-updates

Conversation

@raaymax
Copy link
Copy Markdown
Owner

@raaymax raaymax commented Feb 7, 2026

Summary

Adds ADR 014 documenting the decision to use the Repository pattern instead of an ORM for database access. This captures the rationale behind the existing architecture — keeping the core layer database-agnostic with Valibot schemas as the single source of truth for entity shapes.

Changes

  • Add docs/adr/014-repository-pattern-over-orm.md — new ADR covering repository pattern, branded IDs, Valibot schema validation, and trade-offs vs ORMs
  • Update docs/adr/README.md — add ADR 014 to the index table

Testing

  • Documentation only, no code changes

@raaymax raaymax merged commit 003e93c into dev Feb 8, 2026
1 check passed
@raaymax raaymax deleted the docs/adr-updates branch February 8, 2026 00:26
@raaymax raaymax mentioned this pull request Feb 8, 2026
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

Successfully merging this pull request may close these issues.

1 participant