Consider developing custom typeclasses for similar database operations on different data in an application. Consider it more strongly the larger the application.
Then, how to assure resolution of implicit Composites for generic code using such typeclasses, taking into account any effect of best-practice modularization and use of imports
Consider stronger typing for database fields with reusable single-element case classes. Consider it more strongly the larger the application.
Then, how to assure Composite resolution for case classes that use imported single-element case classes as elements
Per chat in gitter, it would be great to accumulate a list of best practices in doobie.
As some examples: