You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Clean Architecture Template utilizes IEntityTypeConfiguration to separate EF Core configuration on a per-entity basis.
This sample project does not utilize this technique, which makes this aspect of the design of the Persistence module arguably inferior. (The reason for this peculiar omission is that originally I didn't actually use the template, but started from an empty default solution, to force myself to engage more with the design instead of relying on a predefined structure.)
Task:
Spread out entity configurations from ApplicationDbContext into classes implementing IEntityTypeConfiguration.
Try to keep owned type configuration centralized in some way (since it seems currently all references to these types, e.g. Money, have to be configured individually, including their value conversion, even though this configuration is basically the same in all cases).
The text was updated successfully, but these errors were encountered:
The Clean Architecture Template utilizes
IEntityTypeConfiguration
to separate EF Core configuration on a per-entity basis.This sample project does not utilize this technique, which makes this aspect of the design of the Persistence module arguably inferior. (The reason for this peculiar omission is that originally I didn't actually use the template, but started from an empty default solution, to force myself to engage more with the design instead of relying on a predefined structure.)
Task:
ApplicationDbContext
into classes implementingIEntityTypeConfiguration
.The text was updated successfully, but these errors were encountered: