You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider (not) deprecating relational owned JSON support #37290
With complex types fully supported in EF 10, we'll consider deprecating owned entity support for JSON - at least until we allow persisting key properties within JSON (see #28594).
For anyone coming to this issue, we're looking for feedback on the above plan; we're specifically interested in any reasons you have for preferring owned entity JSON support over complex type JSON support. We're interested in feature gaps (e.g. X works with owned entity types but not with complex types), but even more in fundamental reasons to prefer the former (as feature gaps can be fixed).
An [Obsolete] attribute has been added to the relevant APIs; reopening this issue to track feedback and make a final decision on whether we keep the obsoletion for 11.0.
I've wondered about the need for Owned Entities at all for a while now, now that we have Complex Types.
One rough edge this causes is deprecation warnings in past Migration *.Designer.cs files, which hits me right in my TreatWarningsAsErrors.
Activity
Obsolete owned JSON entities in relational
Obsolete owned JSON entities in relational
Obsolete owned JSON entities in relational
roji commentedon Dec 28, 2025
An [Obsolete] attribute has been added to the relevant APIs; reopening this issue to track feedback and make a final decision on whether we keep the obsoletion for 11.0.
[-]Consider deprecating relational owned JSON support[/-][+]Consider (not) deprecating relational owned JSON support[/+]Suchiman commentedon May 20, 2026
I've wondered about the need for Owned Entities at all for a while now, now that we have Complex Types.
One rough edge this causes is deprecation warnings in past Migration
*.Designer.csfiles, which hits me right in myTreatWarningsAsErrors.Remove [Obsolete] from ToJson() and all EF8001 pragma suppressions in…
Scope down owned JSON deprecation to just collections with a syntheti…