Skip to content

refactor: remove Topology#command method #2545

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 2 commits into from
Sep 21, 2020

Conversation

mbroadst
Copy link
Member

This is a minor refactoring that ensures that wire protocol primitives are only available on the Server type. The primary benefit here is that we no longer hide any server selection behind Topology API, all commands issued are always the result of server selection and a command being executed against a specific server.

NODE-2801

Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎨 just some totally optional style nits

@mbroadst mbroadst merged commit dfca70d into master Sep 21, 2020
@mbroadst mbroadst deleted the NODE-2801/remove-topology-command branch September 21, 2020 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants