-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
👟 Reproduction steps
Try using below code with strict linting configuration such as very_good_analyzer it will not let compile the app.
Query.equal( 'index', [userDocumentId], ),Version I am using is appwrite: ^8.3.0
👍 Expected behavior
Query.equal( 'idx_business_user_id', [userDocumentId], ),Data type return by equal should be explicit String.
👎 Actual Behavior
Query.equal( 'idx_business_user_id', [userDocumentId], ),Seems to return dynamic data type as you can assign dynamic data type to string.
queries: [
Query.equal( 'idx_business_user_id', [userDocumentId], ),
],as you can see queries expect List<String>? but, because Query.equal static function return dynamic so, when you use that static function to create query the data type becomes , List<dynamic> . And, so strict linting analyzer won't let it compile.
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Windows
🧱 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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working