spring-projects / spring-data-mongodb

Provides support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-mongodb/
Apache License 2.0
1.61k stars 1.08k forks source link

Aggregation/Aggregation Operations - equals() function is missing #4692

Open therealansh opened 5 months ago

therealansh commented 5 months ago

Need to implement proper equals() function for Aggregation and Aggregation Operations.

Use Case: while mocking a template.aggregate(...) we would also need to verify it using the actual invocations. The lack of equals function returns false to the same list of operations.