-
Notifications
You must be signed in to change notification settings - Fork 1.8k
refactor(NODE-6057): implement CursorResponse for lazy document parsing #4085
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
c5b8d78
refactor(NODE-6057): implement CursorResponse for lazy document parsing
nbbeeken 0e22782
chore: remove the need for unshift
nbbeeken 3144b11
chore: lint
nbbeeken 78f9068
chore: fix FLE, may revert.
nbbeeken f42584c
chore: fix ts
nbbeeken 8bd2a47
fix: old servers
nbbeeken 68077e9
fix: return consistent type
nbbeeken 5fb54d3
fix: unit
nbbeeken df5121a
perf: define methods on cursor response
nbbeeken 053f01f
refactor: replace isBuffer check with isUint8Array
nbbeeken 7edb948
fix: add correct ts to execute
nbbeeken 4631e34
docs: add comment for base64 string
nbbeeken ac5118e
feat: remove valuesAs just use indexing
nbbeeken 9f80b5b
feat: required fields by moving error check out of constructor
nbbeeken 0902172
fix: ns is not a required field
nbbeeken ea365c1
fix: rename hasNext
nbbeeken 24b7678
fix: shift: false wrong for stream, stream uses same settings as `cur…
nbbeeken 195bd62
fix: stream cannot use cursor's next because it reaches exhaustion er…
nbbeeken 2f10f0e
test: add unit tests for cursor response ctor
nbbeeken ca88168
fix: batch always exists and emptyGetMore made simpler
nbbeeken 0533414
test: demonstrate internal decorate feature breakage
nbbeeken 3ee316d
fix: revert changes to FLE and exempt from using responseType
nbbeeken c0b0a86
test: fixes
nbbeeken 26be067
test: lower server version for decorateDecryptionResult test
nbbeeken 0d801a6
fix: remove encryption flag from find
nbbeeken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.