Skip to content

RUST-1986 Use Collection type parameter for change streams #1162

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 3 commits into from
Jul 9, 2024

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Jul 3, 2024

RUST-1986

This is technically a breaking change but I believe that the circumstances that would cause breakage here are sufficiently narrow that fixing a functionality regression from 2.x is more important.

@abr-egn abr-egn marked this pull request as ready for review July 3, 2024 18:57
@abr-egn abr-egn requested a review from isabelatkinson July 3, 2024 18:57
Copy link
Contributor

@isabelatkinson isabelatkinson 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 a docs suggestion!

@@ -100,7 +101,7 @@ where
/// d[`Result<SessionChangeStream<ChangeStreamEvent<Document>>>`] if a
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// d[`Result<SessionChangeStream<ChangeStreamEvent<Document>>>`] if a
/// d[`Result<SessionChangeStream<ChangeStreamEvent<T>>>`] if a

(ditto elsewhere)

@abr-egn abr-egn merged commit 5a17794 into mongodb:main Jul 9, 2024
1 check was pending
abr-egn added a commit to abr-egn/mongo-rust-driver that referenced this pull request Jul 9, 2024
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