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

Change event improvements #373

Merged
merged 3 commits into from
Apr 14, 2024

Conversation

tperraut
Copy link
Contributor

@tperraut tperraut commented Apr 12, 2024

The PR does 3 things :

  • Exposes ChangeEvent class to the public API.
  • Explicits the return type of function DbCollection.watch.
  • Adds the field documentKey to ChangeEvent class to avoid people having to parse serverResponse themselves in case of a delete event for example.

Thanks for your work and hope it will help someone else too.

@giorgiofran giorgiofran merged commit 8cf7329 into mongo-dart:main Apr 14, 2024
@giorgiofran
Copy link
Contributor

Thanks.

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