@ploeh Just give LLM the freedom to choose. My LLM almost always writes in raw SQL. As a reviewer I prefer to read raw sql. ORM abstraction makes review harder
@CFDevelop I am with you that it is bad. Layering is the least of the problems. The more fundamental thing is that the domain layer is causing side effects. But because it is causing side affects through injected interface, it some how become an best practice and escapes qeuestinng