-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We should implement an RAII API for sbe::bson::convertFrom() and sbe::bson::getField(). When returning a view the function should return TagValueView, and when returning an owned value it should return TagValueOwned.
If the number of callers is overwhelming, we can keep the "raw" API available and have it wrap the safe API.