i want to send multiple CRUD operations in one request in flutter app i see graphQL and it is working on python server but in flutter only works with one query , how can i do that ??
hi
Can you share both the python and dart code?
python code with list of queries
dart code with only one query and i can not make list of queries !!!?
Python isn't strict with typing so you don't get any warnings. Dart is different
I think you can still batch multiple in that mutation, right?
Python Code is work and do all queries fine, but in dart code there is no ability to add second query !
You can concatenate mutations like this but I wouldn't recommend it unless they are somehow related.
mutation updateSomeStuffs($uid: String!, $birthday: String!, $imgId: Int!, $albumId: Int) {
updateBirthday(userId: $uid, birthday: $birthday) {
success
}
saveImage(imgId: $imgId, albumId: $albumId) {
success
status
}
}
Recommended threads
- Compatibility issue with Kakao OpenID Co...
**Context:** I am attempting to integrate **Kakao Login** (one of the largest social login providers in South Korea) into my Flutter application using Appwrite'...
- Attribute not found in schema on REST AP...
I'm querying a appwrite collection via the REST API on appwrite cloud 1.9.5 (no SDK) via a cloudflare worker and keep getting: ``` {"message":"Invalid query: A...
- [SOLVED] Appwrite 25.1.0 returns Invalid...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....