MorphiaOrg / MorphiaOrg/morphia
Mirror the FindIterable and AggregateIterable APIs in the driver
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 449
- Avg merge
- 7m
- Merged PRs (30d)
- 10
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Morphia's current FindOptions and AggregationOptions APIs alongside the driver's FindIterable and AggregateIterable interfaces. The work is done when Morphia mirrors the driver's option-setting style through those interfaces and no longer needs the corresponding overloads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mongodb
- Domain
- api, database
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100