morphia icon indicating copy to clipboard operation
morphia copied to clipboard

Mirror the FindIterable and AggregateIterable APIs in the driver

Open evanchooly opened this issue 1 year ago • 0 comments

Currently, Morphia has its own FindOptions and AggregationOptions for historical reasons. Given the recent changes to the APIs for querying and aggregation (namely, that they are themselves Iterable) it makes more sense to mirror how the driver sets those options via these two interfaces versus having overloads to take them. Transitioning to this style of API would simplify the API and reduce the surface area involved.

evanchooly avatar Oct 23 '24 00:10 evanchooly