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
Fix docChanges
removed, modified and added with proper index values
#284
Fix docChanges
removed, modified and added with proper index values
#284
Conversation
docChanges
removed, modified and added with proper index values
86efc4b
to
0e07234
Compare
0e07234
to
975e441
Compare
// after adding doc 2 (ordered by name) | ||
['Gwen', 'Norman'], | ||
// after updating doc 2 (Gwen -> Peter, order by name ) | ||
['Norman', 'Peter'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice and thorough test case, and great documentation
…e_change # Conflicts: # lib/src/query_snapshot_stream_manager.dart
@atn832 resolved merge conflicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!!
Just published your pull requests to https://pub.dev/packages/fake_cloud_firestore/changelog#245. Thanks for the great update! |
Nevermind, I think the issue is somewhere else. I think now we're not checking the type when creating new instances but here we are, so if we use a converter in the app but a simple reference in the tests, I think this will drop the update |
Fix for #224 .
Also fixed proper snapshot query emitting when document modified/removed preserving old and new indexes.