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!
thanks for pointing this out <@275386356958625792> , looks like it indeed is missing from the list, perhaps from all the sdks
can you please create a github issue for this on appwrite/appwrite for easier tracking?
Recommended threads
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- Git deployment provider missing?
Hi, i have a question about automated deployment via Git and the various providers. I seem to remember that it's possible to connect to Bitbucket, among others,...
- `project_id_missing` in Cloud Function w...
I've got a cloud function written in `Dart-3.12` that I'm trying to create a file in a file bucket. I'm using the latest `dart_appwrite` sdk (`26.1.0`) and App...