Changes Value on RealmObject returned by find method of DynamicRealm not implemented

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

      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.

       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

            Assignee:
            Unassigned
            Reporter:
            Unito Sync Bot
            Archiver:
            Marc Greenfield

              Created:
              Updated:
              Resolved:
              Archived: