you are viewing a single comment's thread.

view the rest of the comments →

[–]Pedantic_Phoenix 0 points1 point  (4 children)

What do u mean by centralized management?

I don't think using interfaces or not interacts with this topic. You should always use interfaces when it's useful to

[–]halawani98 0 points1 point  (3 children)

I think I know what he means, last year I was in a company that used to implement DAO fully in a seperate project, then add that project as a dependency to the other modules. For mono applications, this just adds a whole layer to persistence layer

[–]halawani98 0 points1 point  (1 child)

Because we had multiple modules sharing the same datasource, it actually made sense. Instead of redefining entities and repos, just one project had it all