-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: type List<dynamic>' is not a subtype of type 'List<String> #224
Comments
I downloaded the package locally and modified this portion of the code (session.dart) as someone suggested in discord and now it works:
|
createExecution show the same error
|
Facing same error in user.dart and session.dart While using account!.createEmailPasswordSession(); While using account.create(userId: ID.unique(), name: name, email: email, password: password); |
You just need to replace 'final List< String > factors' with 'final List factors' inside the Session class or update to version 14.0.0-rc1. This error is fixed there |
👟 Reproduction steps
When I try this portion of code:
DocumentList listGeneralInfo = await globals.appwriteDB.listDocuments( collectionId: Env.appwriteGeneralInfoCollection, databaseId: Env.appwriteGeneralInfo, );
I get the error
List<dynamic>' is not a subtype of type 'List<String>
👍 Expected behavior
There should be no errors.
👎 Actual Behavior
I get the error
List<dynamic>' is not a subtype of type 'List<String>
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Linux
🧱 Your Environment
self-hosted 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: