Closed bsr203 closed 2 months ago
Thanks for the report. Using the code sample provided above, seeing the same behavior as reported.
/cc @rrousselGit
I have same issue. Any timeline when this issue might be fixed?
This isn't supported for now. We'll see what can be done. But the logic for serializing those complex objects is a bit advanced.
For now, you can do:
moviesRef.doc(...).reference.update({'comments': [...]});
This allows invoking update
without the ODM.
I have modified the [movies model class] as below. The comments field is a nested list now. (https://github.com/firebase/flutterfire/blob/master/packages/cloud_firestore_odm/cloud_firestore_odm/example/lib/movie.dart)
as you can see, the update function doesn't include the
comments
field