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
joern-h
changed the title
🐛 Bug Report: type 'Null' is not a subtype of type 'List<dynamic>'
🐛 Bug Report: Missing null check in Document.fromMap factory
Sep 15, 2023
👟 Reproduction steps
Databases listDocuments with select query that does not include $permissions field
👍 Expected behavior
Document object should be constructed with an empty $permissions list
Proposed change:
👎 Actual Behavior
factory Document.fromMap throws exception: 'Null' is not a subtype of type 'List'
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Linux
🧱 Your Environment
Appwrite 1.4.2
Flutter SDK: 11.0.0
👀 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: