dotnet/eShop

Share model classes between projects

Open

#18 geöffnet am 1. Nov. 2023

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C# (3.622 Forks)batch import
good first issuehelp wanted

Repository-Metriken

Stars
 (10.453 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

From @ReubenBond:

Currently, each project which needs a representation of an Order has its own representation. This makes refactoring complex and it leads to inconsistencies. Instead, we should have one or more shared projects which define the domain model.

If we see a benefit to having a mapped type in some cases (eg, types used in Blazor view models), we should do so, but we should simplify where we can.

Contributor Guide