mongo-csharp-driver icon indicating copy to clipboard operation
mongo-csharp-driver copied to clipboard

CSHARP-2353 CSHARP-2354 Fix some bugs related to duplicate element names

Open admilazz opened this issue 5 years ago • 3 comments

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

admilazz avatar Aug 09 '18 20:08 admilazz

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?

IanWhalen avatar Dec 07 '18 18:12 IanWhalen

I believe these are the ones: https://jira.mongodb.org/browse/CSHARP-2353 https://jira.mongodb.org/browse/CSHARP-2354

admilazz avatar Dec 07 '18 20:12 admilazz

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.

IanWhalen avatar Dec 08 '18 19:12 IanWhalen

Thank you @admilazz for this PR. Your commit was merged here.

BorisDog avatar Mar 13 '24 16:03 BorisDog