You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 26, 2025. It is now read-only.
It looks like the BsonDeserializer maps any C# fields/properties name "Id" to "_id" automatically, even without the [BsonId] or [BsonElement] attributes. This is annoying since sometimes we fall back to Json.net which won't do the same auto-mapping.
I need to create unit tests for all incantations of deserializing fields named "Id", "ID", "_id", etc and make sure they work for named and anonymous types, groupings, etc.