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
Hello, please the new update (12.2.0) of the sdk breaks existing implementations of models (e.g. Document, User, Bucket, etc) fromMap methods breaking due to type change of $permissions from List to List<String>.
The new changes throws an Could not update user: type 'List<dynamic>' is not a subtype of type 'List<String>' exception for creating a document or get a user with no permissions [].
Pinning my dependency to 12.1.0.
👍 Expected behavior
Models should successfully parse the json response
👎 Actual Behavior
Models fail to successfully parse the json response
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Linux
🧱 Your Environment
appwrite 1.6.0
👀 Have you spent some time to check if this issue has been raised before?
👟 Reproduction steps
Hello, please the new update (12.2.0) of the sdk breaks existing implementations of models (e.g. Document, User, Bucket, etc)
fromMap
methods breaking due to type change of$permissions
fromList
toList<String>
.The new changes throws an
Could not update user: type 'List<dynamic>' is not a subtype of type 'List<String>'
exception for creating a document or get a user with no permissions[]
.Pinning my dependency to 12.1.0.
👍 Expected behavior
Models should successfully parse the json response
👎 Actual Behavior
Models fail to successfully parse the json response
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Linux
🧱 Your Environment
appwrite 1.6.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: