automattic mongoose-14692
automattic mongoose-14692: a task in LegoFlow-SWE (Harbor dataset). The above issues should be resolved so that: - Calling .count() or .findOneAndRemove() on any query chain throws a clear error indicating these methods are removed. - Projection correctly applies to each element of an array field…
The task
The above issues should be resolved so that: - Calling `.count()` or `.findOneAndRemove()` on any query chain throws a clear error indicating these methods are removed. - Projection correctly applies to each element of an array field. - `$elemMatch` conditions on document arrays with discriminators are cast using the…
Part of Lego-X/LegoFlow-SWE.