mongo-csharp-driver
mongo-csharp-driver copied to clipboard
CSHARP-2353 CSHARP-2354 Fix some bugs related to duplicate element names
MongoDB.Bson/ObjectModel/BsonDocument.cs:
- Made DeepClone work with documents that have duplicate element names
- Added constructors that take documents and work if they have duplicate names
MongoDB.Bson/ObjectModel/LazyBsonDocument.cs: MongoDB.Bson/ObjectModel/RawBsonDocument.cs:
- Set AllowDuplicateNames to true since raw BSON always might have duplicate names
Hi @admilazz, thanks for opening this pull request, and my apologies for the delay in response here. The MongoDB .NET team relies primarily on our JIRA project to track and prioritize our work.
In order to continue the conversation, can you please open a new ticket (or point to an existing one) at the above link so we can discuss your proposal there?
I believe these are the ones: https://jira.mongodb.org/browse/CSHARP-2353 https://jira.mongodb.org/browse/CSHARP-2354
Great, thanks @admilazz! I'm not quite certain the order in which we'll be working through all of the open PRs so I can't give any timeline, but we'll definitely be reaching out as soon as we can.
Thank you @admilazz for this PR. Your commit was merged here.