AzureFunctions-TheLongRun-Leagues
AzureFunctions-TheLongRun-Leagues copied to clipboard
Auto wire up of the domain model
In the Common library we need a way of automatically wiring up the domain model(s) - the event definitions, entity types, projections, commands, queries and classifiers - from the dlls that contain the business logic of the domain(s).
This will make use of the attributes exported from the CQRSAzure library that have been used to annotate the classes in these business libraries.
I think this should be similar to the way that entity framework does this for a code-first setup.
It also needs a fluent way of adding to the model at run time (for example to plug-in new events?)
Outline classes for this added under TheLongRun.Common\Models
Need to decide what additional information should be contained in/wired up in the domains model.