-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
Our evergreen test suite is clogged by warnings of map_reduce being deprecated. With MONGOID-4998 the Mongoid::Warnings module can be used to cache warnings so they only happen once:
W, 2022-07-08T18:42:12.394985 #2297 WARN – : MONGODB | The map_reduce operation is deprecated, please use the aggregation pipeline instead
W, 2022-07-08T18:43:28.353863 #2297 WARN – : #as_json :compact option is deprecated. Please call #compact on the returned Hash object instead.
- has to be done after
-
MONGOID-4998 Make all #first and #last methods have consistent signatures and compatible with Ruby core/AR
- Closed