Skip to content

CSHARP-6160, CSHARP-6169: Additional constraints on deserialized types via type discriminators - #2203

Merged
damieng merged 1 commit into
mongodb:v3.xfrom
damieng:csharp-6190
Nov 12, 2026
Merged

damieng merged 1 commit into
mongodb:v3.xfrom
damieng:csharp-6190

Conversation

@damieng

@damieng damieng commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Adds additional constraints on the types that can be created during deserialization when a type discriminator (_t) is present.

@damieng
damieng requested a review from a team as a code owner November 12, 2026 19:55
@damieng
damieng requested review from ajcvickers and removed request for a team November 12, 2026 19:55
@damieng damieng added the bug Fixes issues or unintended behavior. label Nov 12, 2026
@damieng
damieng requested a review from sanych-sun November 12, 2026 19:55

@sanych-sun sanych-sun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@damieng
damieng removed the request for review from ajcvickers November 12, 2026 19:58
@damieng
damieng merged commit 802f2e0 into mongodb:v3.x Nov 12, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes issues or unintended behavior.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants