dotnet / dotnet/efcore

Support mapping multiple types to the same JSON column (sharing)

Open
#28,592 12 comments 371 reactions 1 assignee Assigned to @AndriySvyryd View on GitHub
area-json area-model-building area-query area-save-changes
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

This would allow mapping different owned or complex types to a single JSON column as long as they are declared on sibling types in a TPH hierarchy.

Depends on #38060
Related: #38061, #28574

This doesn't cover cases where a discriminator value inside the JSON would be used. That would be covered by #27779 or #38059

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.