Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2334

Does BsonIgnoreExtraElements retrieve elements through the network ?

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • API

    Description

      I am trying to deserialize bson document to a C# class.

      I have some heavy fields that I don't want to retrieve.

      To do that I use BsonIgnoreExtraElements but I suspect this does not perform a projection and make the field traversing the network.

      Can you confirm?

      Thanks a lot!

      Attachments

        Activity

          People

            Unassigned Unassigned
            yoanncouillec Yoann Couillec
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: