Skip to content

Consider (not) deprecating relational owned JSON support #37290

Description

@roji

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).

Activity

  1. added this to the 11.0.0 milestone on Dec 3, 2025
  2. self-assigned this
    on Dec 3, 2025
  3. added theissue type on Dec 3, 2025
  4. added 3 commits that reference this issue on Dec 14, 2025
    bf84826
    09e8e38
    e9e6c8a
  5. roji commented on Dec 28, 2025

    @roji
    MemberAuthor

    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.

  6. reopened this on Dec 28, 2025
  7. changed the title [-]Consider deprecating relational owned JSON support[/-] [+]Consider (not) deprecating relational owned JSON support[/+] on Dec 29, 2025
  8. Suchiman commented on May 20, 2026

    @Suchiman
    Contributor

    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.

  9. added a commit that references this issue on Jun 17, 2026
    29dd992
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions