🚀 Feature: Enable / Disable Functions from Console
- Dominant language
- Svelte
- Stars
- 393
- Forks
- 260
- Avg merge
- 6h 53m
- Merged PRs (30d)
- 24
Description
### 🔖 Feature description
This Server Side SDK for Functions has this param `enabled` on method `functions.update(...)` but the console does not have a UI component to toggle this behaviour.
---
On a side note, the docs say -
```
ENABLED boolean
Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.
```
This doesn't include info. if the Function will be triggered by `Events` or `Cron` or only by the Server Side SDKs with an API Key.
### 🎤 Pitch
As discussed about the usecase on Discord -
> Usecase: A normal function is exposed to be used on production, receives events, requests and what not.
>
> Now if you want to test another function that receives similar events, the one in production will be executed on test values / useless event data.
More discussion [here](https://discord.com/channels/564160730845151244/870534256324124692/1161303672853110874).
### 👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
### 🏢 Have you read the Code of Conduct?
- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)
Contributor guide
Assessment
This issue has not been assessed yet.