Skip to content

Document Cosmos: empty owned collections now return empty instead of null#5301

Merged
roji merged 4 commits intopreview-3from
copilot/fix-behavior-change-in-efcore
Mar 25, 2026
Merged

Document Cosmos: empty owned collections now return empty instead of null#5301
roji merged 4 commits intopreview-3from
copilot/fix-behavior-change-in-efcore

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 23, 2026

  • Remove "navigation" terminology from title and body
  • Simplify "Why" section to just state it was a bug
  • Fix mitigation code example to show removing the is null check
  • Align Impact column spacing consistently across all table rows

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title Document Cosmos: empty owned collection navigations now return empty instead of null Document Cosmos: empty owned collections now return empty instead of null Mar 24, 2026
Copilot AI requested a review from roji March 24, 2026 07:15
Copilot finished work on behalf of roji March 24, 2026 07:15
@roji roji marked this pull request as ready for review March 24, 2026 07:42
Copilot AI review requested due to automatic review settings March 24, 2026 07:42
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds documentation for an EF Core 11 low-impact breaking change in the Azure Cosmos DB provider where empty owned collections are now materialized as empty collections rather than null.

Changes:

  • Adds a new breaking-change entry documenting Cosmos owned collection materialization behavior.
  • Updates the breaking-changes summary table to include the new entry.

Copilot AI requested a review from roji March 24, 2026 08:20
Copilot finished work on behalf of roji March 24, 2026 08:20
@roji roji enabled auto-merge (squash) March 24, 2026 10:49
@roji roji merged commit 9087072 into preview-3 Mar 25, 2026
5 checks passed
@roji roji deleted the copilot/fix-behavior-change-in-efcore branch March 25, 2026 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants