csharpfritz / csharpfritz/InstantAPIs

IModel

未关闭
#55 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
453
派生
58
PR 合并指标
30 天内没有已合并 PR

描述

It might be nice if the user was allowed to inherit their model from an `IModel` interface that looked something like this:
```csharp
interface IModel
{
int/Guid Id { get; set;}
}
```

This would allow the code not to have to use the `Type.GetProperty()` method and provide more IntelliSense.

贡献指南

打开贡献指南

调研方向

未指定文件或测试入口点。首先定位调用 Type.GetProperty() 的模型处理代码,然后确定支持 int 或 Guid 标识符的 IModel 接口应如何适配;完成的标准是模型处理可以使用该接口,并提供所请求的 IntelliSense 改进。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
backend-api-design
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。