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
When listening to changes for a list I'd expect to receive notifications when an object is updated, no matter if it is a normal list of objects or if it is in a list of mixed.
Actual Results
These Kotlin tests registers for list notifications; one showing the behavior for list of objects and one for list of mixed.
For list of objects we receive notifications of both the addition to the list but also for updates to the object in the list.
For list of mixed we only receive notification for the addition to the list, but not for updates to the object in the list.
It would be rather costly to check for updates on objects linked through typed links (those that are used in Mixed). The reason is that that would mean that we should check every object mutation to see if the object is actually linked from an object/collection of interest. I think we should say that objects linked by typed links cannot be seen as part of the linking object and that you consequently will not receive notifications when mutated. So I propose not to fix this.
Expected results
When listening to changes for a list I'd expect to receive notifications when an object is updated, no matter if it is a normal list of objects or if it is in a list of mixed.
Actual Results
These Kotlin tests registers for list notifications; one showing the behavior for list of objects and one for list of mixed.
For list of objects we receive notifications of both the addition to the list but also for updates to the object in the list.
For list of mixed we only receive notification for the addition to the list, but not for updates to the object in the list.
Steps & Code to Reproduce
See https://github.com/realm/realm-kotlin/pull/1635/files
Core version
Core version: v13.24.0 and v14.0.0-beta.0
The text was updated successfully, but these errors were encountered: