-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
-
Fully Compatible
-
Programmability 2026-01-05, Programmability 2026-01-19, Programmability 2026-02-02
-
None
-
None
-
None
-
None
-
None
-
None
-
None
There should be various matchers for all comparison kinds for both BSONObj and BSONElement.
More specifically, we need the following:
- a matcher that extracts a vector of elements out of a BSONObj
- a matcher that matches a specific element with matchers for name, type and value (value being a Matcher<T>)
- Comparison matchers (== != < > <= >=)
- Unordered comparison matchers
- blocks
-
SERVER-116529 Add Matchers and PrintTo for mongo-specific types
-
- Closed
-