by commandlinefan · 6y ago · 0 comments
Do you use Dagger for your DI needs or do you roll your own container?
I do the same with object-relational mapping--write a thin layer of classes to wrap INSERT, SELECT, UPDATE, DELETE. Not hard to write, easy to test, and you can always slip into SQL if you run into problems.
Use-case specific code should always be considered as an alternative to general frameworks.