Skip to content
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

RUST-1505 Convert remaining event handler types to new API #1012

Merged
merged 3 commits into from
Jan 23, 2024

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Jan 19, 2024

RUST-1505

This updates cmap_event_handler and sdam_event_handler to use the new API. There are a lot of little changes but this is a fairly mechanical PR, it's all following the same pattern as command_event_handler did.

@@ -93,20 +91,6 @@ impl Event {
}
}

#[derive(Clone, Debug, Serialize)]
#[serde(untagged)]
pub(crate) enum SdamEvent {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know why we had two of these.

@abr-egn abr-egn marked this pull request as ready for review January 19, 2024 22:18
@abr-egn abr-egn merged commit c070269 into mongodb:main Jan 23, 2024
16 checks passed
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.

2 participants