Hacker News new | ask | show | jobs
by foobarian 1358 days ago
> You could work around that by passing in your database client as parameter

Yes this is the way. [1]

[1] https://en.wikipedia.org/wiki/Hexagonal_architecture_(softwa...