Hey,
Sorry if it has been reported already, I found an issue using the Dart SDK where the canceled enum value is missing from DeploymentStatus. This causes any call to listDeployments to fail when using Dart because it can't find the corresponding enum value (see attached screenshot for the exact error location).
The workaround is to use a query to exclude this type (e.g. Query.notEqual('status', 'canceled')), but it would be neat to be able to delete those deployments as well using the SDK.
I don't know how active is being deduced in the UI, but this may be missing as well there. I'd gladly contribute but I'm not sure where to look at to open a PR.
See: https://github.com/appwrite/sdk-for-dart/blob/main/lib/src/enums/deployment_status.dart
Thanks for any help!
Recommended threads
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?