Skip to content

Document Cosmos support for complex types (EF Core 11)#5296

Open
Copilot wants to merge 6 commits intomainfrom
copilot/document-new-features-cosmos
Open

Document Cosmos support for complex types (EF Core 11)#5296
Copilot wants to merge 6 commits intomainfrom
copilot/document-new-features-cosmos

Conversation

Copy link
Contributor

Copilot AI commented Mar 18, 2026

  • Add ### Complex types entry under ## Cosmos DB in whatsnew.md
  • Add one-liner under ## Complex types linking to the Cosmos section
  • Add minimal code sample showing complex type configuration
  • Replace single attribute block with Fluent API / Data Annotations tabs (Fluent API first)
  • Remove JSON sample; add prose explaining complex types are a better fit than owned types for JSON documents
  • Fix tab heading levels from ### to #### (one level deeper than enclosing ### section)
  • Remove ambiguous "or using them as keys" phrase from the prose
  • Revert ms.date in modeling.md to original value (no content change was made to that file)

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI and others added 2 commits March 18, 2026 11:41
Document dotnet/efcore#31253

Co-authored-by: roji <1862641+roji@users.noreply.github.com>
- Remove the ## Complex types section from cosmos/modeling.md (full docs will be added later)
- Update the one-liner in ## Complex types to link to the Cosmos what's new section instead of modeling page
- Remove the dead link to modeling page from the Cosmos ## Complex types what's new entry

Co-authored-by: roji <1862641+roji@users.noreply.github.com>
Copilot AI requested a review from roji March 18, 2026 17:28
Copilot finished work on behalf of roji March 18, 2026 17:28
Co-authored-by: roji <1862641+roji@users.noreply.github.com>
Copilot AI requested a review from roji March 18, 2026 17:32
Copilot finished work on behalf of roji March 18, 2026 17:32
…abs; remove JSON sample

Co-authored-by: roji <1862641+roji@users.noreply.github.com>
Copilot AI requested a review from roji March 18, 2026 17:38
Copilot finished work on behalf of roji March 18, 2026 17:38
@roji roji marked this pull request as ready for review March 19, 2026 06:35
Copilot AI review requested due to automatic review settings March 19, 2026 06:35
@roji roji assigned AndriySvyryd and unassigned roji Mar 19, 2026
Copy link

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

Documents EF Core 11’s new support for complex types in the Azure Cosmos DB provider by adding a release-note entry and a short configuration example, plus a cross-link from the Complex types section.

Changes:

  • Added a new “Complex types” subsection under the EF Core 11 Cosmos DB release notes, including a short configuration sample and explanatory guidance.
  • Added a one-liner under the main “Complex types” section pointing readers to the Cosmos DB details.
  • Updated ms.date metadata in the Cosmos modeling doc.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
entity-framework/core/what-is-new/ef-core-11.0/whatsnew.md Adds Cosmos DB complex-types release note section, cross-links, and a minimal sample with tabs.
entity-framework/core/providers/cosmos/modeling.md Updates document metadata date only.

You can also share your feedback on Copilot code review. Take the survey.

@roji
Copy link
Member

roji commented Mar 19, 2026

@copilot please address the above comments.

…ert modeling.md ms.date

Co-authored-by: roji <1862641+roji@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 19, 2026

@copilot please address the above comments.

Done in f2e6636:

  • Tab headings changed from ### to #### (one level deeper than the enclosing ### Complex types section)
  • Removed "or using them as keys" to avoid ambiguity
  • Reverted ms.date in modeling.md to its original 09/26/2024 value

Copilot AI requested a review from roji March 19, 2026 06:42
Copilot finished work on behalf of roji March 19, 2026 06:42
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