Skip to content

8 - API (refactor): Repository Pattern - #234

Draft
RobertRosca wants to merge 10 commits into
feat/unify-proposal-numberfrom
refactor/repository-pattern
Draft

8 - API (refactor): Repository Pattern#234
RobertRosca wants to merge 10 commits into
feat/unify-proposal-numberfrom
refactor/repository-pattern

Conversation

@RobertRosca

Copy link
Copy Markdown
Member

Stack created with GitHub Stacks CLIGive Feedback 💬

@CammilleCC

CammilleCC commented Jul 15, 2026

Copy link
Copy Markdown
Member

After mulling about this, I am still not sure if having a CSV Repository is currently worth it: we have to keep the generated CSV in sync to the current database to some extent, and it sounds like an overhead that we won't benefit much from (SQLite is a file-based database already).

Maybe if we go to Postgres, we would see the benefit of the repository pattern. Currently, I am inclined on YAGNI.

@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch from a84e6cd to df9ac81 Compare July 17, 2026 06:20
@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch 2 times, most recently from 2689256 to d62cd1d Compare July 17, 2026 08:40
@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch from d62cd1d to 06ac286 Compare July 17, 2026 09:09
@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch from 06ac286 to d930015 Compare July 17, 2026 09:11
@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch from d930015 to 853585a Compare July 17, 2026 09:12
@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch from 853585a to 03c5751 Compare July 17, 2026 09:12
@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch 2 times, most recently from e7767a1 to aad232b Compare July 17, 2026 11:01
@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch from aad232b to 66c558e Compare July 20, 2026 09:26
@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch from 66c558e to 730ab04 Compare July 20, 2026 09:28
@RobertRosca
RobertRosca force-pushed the refactor/repository-pattern branch from 730ab04 to 1301fdf Compare July 20, 2026 09:30
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.

2 participants