
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
- Vercel Deployment issue
I am trying to deploy my web project using vercel, but in the deployed link, it is fetching some of the attributes and for the rest it is giving "not found" err...
- Failing to run document operations on sd...
Could someone point me in the right direction I'm going in cirlces. I have a problem with sdks and my self-hosted server in production (for ~3 years) I have bee...
- Functions fail to deploy after switching...
Hi <@1087889306208718959> , after switching my self-hosted Appwrite instance to use AWS S3 as the storage backend, my Cloud Functions stopped working. I’m runni...
