Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51846

IDL parser should create owned copy of BSONObj subobjects

    • Server Programmability
    • ALL

      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 Unassigned
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: