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
While the operator minimizes the number of group changesets, it doesn't try to reduce the number of changesets emitted by the Group Caches.
For example, if the source provides a changeset with 9 Additions such that it should be split into 3 groups of 3, then the group observable will emit a single changeset to add 3 groups, but each of the groups would emit a 3 changesets with 1 add each (for a total of 10 changesets).
Step to reproduce
Any use of the GroupOnObservable will exhibit this behavior.
…eSet (#863)
Fixes#851 by leveraging the code from #852 to suspend the notifications about changes to the group contents until all of the groups have been updated.
Describe the bug 🐞
While the operator minimizes the number of group changesets, it doesn't try to reduce the number of changesets emitted by the Group Caches.
For example, if the source provides a changeset with 9 Additions such that it should be split into 3 groups of 3, then the group observable will emit a single changeset to add 3 groups, but each of the groups would emit a 3 changesets with 1 add each (for a total of 10 changesets).
Step to reproduce
Any use of the
GroupOnObservable
will exhibit this behavior.Reproduction repository
https://github.com/dwcullop/DynamicData
Expected behavior
There should only be 4 total changesets emitted. One to add the 3 groups and then each group should emit a single changeset with all 3 adds together.
Screenshots 🖼️
No response
IDE
No response
Operating system
No response
Version
No response
Device
No response
DynamicData Version
No response
Additional information ℹ️
No response
The text was updated successfully, but these errors were encountered: