[GODRIVER-782] ChangeStream should depend directly on driver.BatchCursor Created: 22/Jan/19 Updated: 27/Oct/23 Resolved: 28/Jul/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Unassigned |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | divjot-close | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The mongo.ChangeStream type currently depends on mongo.Cursor type, but it should depend directly on driver.BatchCursor instead to avoid the overhead of an extra layer. |
| Comments |
| Comment by Divjot Arora (Inactive) [ 28/Jul/20 ] |
|
This was done when we added support for postBatchResumeToken. |