Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix non hydrated EagerCursor. #424
Map hydrate properties of EagerCursor to the same properties of its BaseCursor.
It didn't work because the EagerCursor lost information about the hydration flag on its way.
@jwage: I took a look at the ODM and base Query classes, and am a bit confused as to why we have two EagerCursor classes. Is that purely to encapsulate the hydration logic?
The ODM's EagerCursor mentions extending the base class, although it really doesn't:
I'm mainly curious if there are other flags that should be copied over to the EagerCursor constructed in the ODM's Query class, or if the hydrate flag is all that's important. The base Query class already wraps the cursor with its EagerCursor implementation in