csharpfritz / csharpfritz/InstantAPIs

IModel

Open
#55 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
453
Forks
58
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Research direction

No file or test entry point is named. Start by locating the model-handling code that calls Type.GetProperty(), then determine how an IModel interface supporting int or Guid identifiers would fit; done means model processing can use the interface and provides the requested IntelliSense improvement.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.