-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sessions): support passing sessions via objects in all methods
* ensure all cases where executeOperation is called, that we are also passing options * ensure in all cases where options appear, we default to {} if they are not present * remove `session` in a number of cases where commands are decorated with passed in options * all commands in cursor should use `skipSessions` because the `getMore` command uses the cached session for the cursor * `startSession` now uses the porcelain version of the topology, * delegating all relevant methods and properties down to the `coreTopology` it wraps. * modified all tests using mock servers to support `endSessions` commands NODE-1088
- Loading branch information
Showing
23 changed files
with
420 additions
and
109 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.