MorphiaOrg / MorphiaOrg/morphia
Use BsonDocuments in the iterator
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 449
- Avg merge
- 7m
- Merged PRs (30d)
- 10
Description
If we get info back out of the driver as a MongoCursor<BsonDocument> we can hand each document off to the codecs with out our own DecoderContext instances with caching information to allow for proper caching/fetching of duplicate/cyclical references. This will still require changes to the driver so it's all very speculative.
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 tracing the iterator's handling of MongoCursor and the codec handoff. Determine the required driver changes and verify that documents can be passed to codecs without locally created DecoderContext instances while preserving caching and duplicate or cyclical reference fetching.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mongodb
- Domain
- backend, databases
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100