Skip to content

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

Notifications You must be signed in to change notification settings

FrankHoogmans/CQRSTest

Repository files navigation

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:

About

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

Resources

Stars

Watchers

Forks