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
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Thanks again for developing this app. I am enjoying learning more about it.
Domain Driven Design states that you should have a domain model, which reflects the ubiquitous language used by the domain experts. I see that you are using EF Core and have the ORM mapped to the Domain model in the Ordering microservice. I have two questions:
How would you deal with a many to many relationship? I believe you have to create a join Domain entity with EF Core as described here: Discussion on many-to-Many relationships (without CLR class for join table) dotnet/efcore#1368. Is that how you would do it? Some argue that this would "pollute" the domain model. It could also mean that you have class names that do not reflect the ubiquitous language used in the domain.
Would you ever have a completely isolated domain model i.e. a domain model that is not mapped to a relational database? I believe a separate domain model would make change tracking harder.