You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's bug that snapshot's docChanges state doesn't contain all information when docs are saved in parallel:
Example:
final op1 = db.collection('docs').doc('1').set(<String, dynamic>{
'name':'Norman',
'age':28,
});
final op2 = db.collection('docs').doc('2').set(<String, dynamic>{
'name':'Peter',
'age':19,
});
/// Parallel saveawaitFuture.wait([op1, op2]);
If we query docs with where('age', isLessThan: 30) before saving the above docs, only single added doc change event will be emitted. However, expected will be two, per each snapshot data
Please refer to the test file in the PR for the details of failing test case
PR: #312
The text was updated successfully, but these errors were encountered:
There's bug that snapshot's docChanges state doesn't contain all information when docs are saved in parallel:
Example:
If we query
docs
withwhere('age', isLessThan: 30)
before saving the above docs, only singleadded
doc change event will be emitted. However, expected will be two, per each snapshot dataPlease refer to the test file in the PR for the details of failing test case
PR: #312
The text was updated successfully, but these errors were encountered: