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
With the version of realm 2.0.0 for Flutter, we have a class called DynamicRealm, where we can execute a find method to get a RealmObject, but this object has an exception on changes value.
RealmObject _retrieveDocument(Document id) {
final RealmObject? object =
_realm.dynamic.find(id.collectionId, id.documentId);
if (object == null) {
throw const ChassisException(message: 'Document can not be retrieved');
}
return object;
}
/// Access to changes causes an exception
final Stream<RealmObjectChanges<RealmObjectBase>> stream = _retrieveDocument(id).changes;
Solution
Allow to developer to get access to changes value in order to listen to changes for a single RealmObject
Alternatives
No response
How important is this improvement for you?
Would be a major improvement
Feature would mainly be used with
Atlas App Services: Auth or Functions etc
The text was updated successfully, but these errors were encountered:
Problem - Flutter SDK
With the version of realm 2.0.0 for Flutter, we have a class called DynamicRealm, where we can execute a find method to get a RealmObject, but this object has an exception on changes value.
Solution
Allow to developer to get access to changes value in order to listen to changes for a single RealmObject
Alternatives
No response
How important is this improvement for you?
Would be a major improvement
Feature would mainly be used with
Atlas App Services: Auth or Functions etc
The text was updated successfully, but these errors were encountered: