We have a folder called repositories, and 31 files that query the database without going near it
DEV Community
We have a folder called repositories, and 31 files that query the database without going near it
Three repository classes in lib/repositories, five more scattered through feature folders, 36 files importing the database handle directly, and a transaction wrapper with no callers. What the pattern bought and where it stopped.
0 comments
No comments yet.