The downside of pulling all business logic out into the service layer: https://en.m.wikipedia.org/wiki/Anemic_domain_model Now I don't actually agree it's an anti pattern, but I'm just saying I can see certain advantages of giving the repository more responsibility. Obviously I'm talking in the general case and Spring may or may not force certain design decisions
View all comments
Show parent comment
0
u/[deleted] Jul 19 '20
[deleted] — view deleted comment