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
After recently upgrading Appwrite from 1.3.7 to 1.4.1 and running the migrations we experienced some issues with the Flutter SDK (v10.0.1) complaining about missing fields.
The only system fields sent by Appwrite and received by the SDK are "$databaseId", $collectionId".
A call to listDocuments does not raise errors when using a Query.select without including system attributes.
👎 Actual Behavior
A TypeError is raised by the SDK indicating that system attributes received such as $permissions are Null, but are mandatory to construct the client document.
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
Appwrite 1.4.1 recently upgraded from 1.3.7.
Flutter Client using Appwrite Flutter SDK 10.0.1
👀 Have you spent some time to check if this issue has been raised before?
@maperz, thanks for raising this issue! 🙏🏼 We changed select to only return what you request rather than automatically including the system attributes as requested in #5376, but it looks like that causes problems in the SDK. I'll talk to the team about how to address this.
👟 Reproduction steps
After recently upgrading Appwrite from 1.3.7 to 1.4.1 and running the migrations we experienced some issues with the Flutter SDK (v10.0.1) complaining about missing fields.
The only system fields sent by Appwrite and received by the SDK are
"$databaseId", $collectionId"
.The code to list the documents is the following:
As @stnguyen90 indicated on Discord, I tried to include the system attributes manually and that seems to fix the issue:
👍 Expected behavior
A call to
listDocuments
does not raise errors when using aQuery.select
without including system attributes.👎 Actual Behavior
A TypeError is raised by the SDK indicating that system attributes received such as
$permissions
are Null, but are mandatory to construct the client document.🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
Appwrite 1.4.1 recently upgraded from 1.3.7.
Flutter Client using Appwrite Flutter SDK 10.0.1
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: