Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.16 KB

README.md

File metadata and controls

15 lines (12 loc) · 1.16 KB

CQRSTest

This is a small proof-of-concept repo for having a dynamic projection based query using automapper and mediatr.

Explanation

The intention was to create a projection based variant of the GetById found in many repository examples. Projection is used to only retrieve relevant fields from the database. In addition, an additional mapping step is done in the RequestHandler to allow a developer to access AutoMapper features that are unsupported in the 'Projection' flow.

Relevant code: