ardalis / ardalis/SmartEnum

Use SmartEnum as discriminator in various places

Open
#235 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

In EF Core we can use HasDiscriminator and map entity types to specific value

In System.Text.Json we need something like JsonSubTypes to hand deserialization

Not sure if this makes sense....

Contributor guide

Open the contributing guide

Research direction

The issue mentions EF Core discriminator mapping and System.Text.Json polymorphic deserialization, but names no files or tests. First clarify which integration is intended and define concrete supported scenarios; done should include an agreed scope and tests or examples covering the selected discriminator behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.