dotnet/eShop

Share model classes between projects

オープン

#18 opened on 2023/11/01

 (3 件のコメント) (0 件のリアクション) (1 人の担当者)C# (3,622 件のフォーク)batch import
good first issuehelp wanted

Repository metrics

Stars
 (10,453 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド