IDL parser should create owned copy of BSONObj subobjects

XMLWordPrintableJSON

    • Server Programmability
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In IDL with a field of type object, when parsing that field, the 'BSONElement::Obj()' function is used, but this only saves a non-owned reference. This should instead call '.getOwned()'on the result of 'Obj()'.

              Assignee:
              Unassigned
              Reporter:
              Matthew Saltz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: