-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2023-02-20
For classes that derive from IDL base classes, there is a need to parse a BSONObj to the derived type as a deep copy. In order to accomplish this, the BSONObj anchor field needs to be owned by the derived class.
Currently, the _anchorObj field and its setter - setAnchor() - are private. Making these protected will allow a derived class to have access to these members without redefining them.
- is depended on by
-
SERVER-73050 Streamline logical branches in opObserverImpl::onCreateIndex
- Closed
- is related to
-
SERVER-67826 Ensure parsed IDL types own or preserve the lifetime of their data
- Closed