-
Type: Sub-task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
Use Case
As a Node.js engineer
I want to make the internal cursor response object consistently used
So that all cursors benefit from lazy parsing
User Impact
- All cursors will deserialize as they iterate their batch. No functional impact, behavioral improvement.
Dependencies
- None
Unknowns
- Any special handling needed for RunCommandCursor?
Acceptance Criteria
Implementation Requirements
- Remove flags for getMore returning CursorResponse, and always return it.
- Set CursorResponse as the responseType argument in all Cursor returning commands
Testing Requirements
- Existing tests
Documentation Requirements
- Release notes, merge this as a feature highlight the benefits to cursors ended early if no other salient performance metrics are surfaced.
Follow Up Requirements
- None