dotnet/eShop

Share model classes between projects

开放

#18 创建于 2023年11月1日

 (3 条评论) (0 个反应) (1 位负责人)C# (3,622 个派生)batch import
good first issuehelp wanted

仓库指标

星标
 (10,453 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南