Play-Slick: Is it possible to improve this design (pattern) … and how to call it?
问题 I'm using Play-Slick versions 2.5.x and 3.1.x respectively. I use Slick's code generator and produce the Slick model from an existing database. Actually I'm shy to admit that I'm DB-design driven and not class-design driven. This is the initial setup: Generated Slick model under generated.Tables._ Generic Slick dao implementation Service layer that builds on top of the Generic Slick dao These are the forces behind the pattern which I temporary called "Pluggable Service" because it allows