-
Notifications
You must be signed in to change notification settings - Fork 21
Description
👟 Reproduction steps
I’m running a self-hosted instance on the latest 1.7.4 version (was before on latest 1.6).
I have a simple Dart function to create a document:
await database.createDocument(
databaseId: 'DB_ID',
collectionId:''COLLECTION_ID,
documentId:'NEW_ID',
data: {
'name': 'TEST'
},
);
Everything works perfectly with dart_appwrite: ^15.0.0
.
However, after upgrading my server from 1.6.x to 1.7.4, I also updated to the latest supported dart_appwrite
version (16.2.0).
Now I’m getting this error:
type 'Null' is not a subtype of type 'int'
I tried downgrading to 16.1.0 and 16.0.0, but the issue persists.
The only way to make it work again was to roll back to 15.0.0.
I think it's the same issue as the Flutter package:
appwrite/appwrite#10290
appwrite/appwrite#10253
👍 Expected behavior
It should create the document
👎 Actual Behavior
It throw an error for each document creation
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct