Globally Set [BsonIgnoreExtraElements]

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Configuration
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      I'm new to MongoDB and the CSharp driver and I'm looking for a way to set [BsonIgnoreExtraElements] by default and add the ability for the developer to reverse the default.

      • Set BsonIgnoreExtraElements Globally.
      • New attribute BsonIncludeAllElements (Or Similar) to throw exception when attribute isn't found - should the developer need this for certain models.

      Would this be something the team would consider? Happy to submit the pull request.

              Assignee:
              Unassigned
              Reporter:
              Liam Bateman [X]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: