mercredi 3 juin 2020

Query objects - which layer?

I was reading this article [1] about getting rid of repositories and embracing the ORM directly (EF specifically) through the use of Query objects.

Which layer of the Onion architecture/Clean architecture would the Query objects then belong to? I somehow feel they belong to the domain core, but would like to double check.

[1] https://lostechies.com/jimmybogard/2012/10/08/favor-query-objects-over-repositories/

Aucun commentaire:

Enregistrer un commentaire