-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Query
-
None
Existing embedded matchers take the entire specification (both operator and the value being matched against) as the value. The operator then is ignored, because the matcher specifies operator behavior. And the value must be retrieved out of the specification in each matcher separately, which means validations for specification shape must also be copied into every matcher, etc.
This ticket is to change the API of embedded matchers to clearly take the operator on one hand and the value of the operator on the other.
- duplicates
-
MONGOID-4781 Make embedded matchers work the same as MongoDB server queries
- Released