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
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...