Hi there, I just updated to 1.7.4 and also wanted to update the dart appwrite sdk to fit the appwrite version I am using now. So I updated to 16.2.0 and get the following error.
type 'Null' is not a subtype of type 'int'
#0 new Document.fromMap (package:dart_appwrite/src/models/document.dart:42)
#1 Databases.updateDocument (package:dart_appwrite/services/databases.dart:1353)
<asynchronous suspension>
#2 main (package:meili_sync/main.dart:124)
<asynchronous suspension>
#3 Future.any.onValue (dart:async/future.dart:615)
<asynchronous suspension>
Is there a fix without updating to 1.8?
16.1.0 should work okay with 1.7.4
So whats the 1.6.2 version for then?
<@452316113016193024> I get the same error with 16.1.0
it should work. make sure you've cleaned dependencies and are pinning to 16.1.0
Thank you! Pinning the version to 16.1.0 actually worked. Another question regarding the bulk operations: In 16.1.0 it says that bulk operations are still experimental, but in the docs theres no indication for that. Are bulk operations experimental?
Recommended threads
- hi guys! my site is not accesible in my ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Delete on cascade from Cloud Function
I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion...