-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
enhancementNew feature or requestNew feature or requestproduct / functionsFixes and upgrades for the Appwrite FunctionsFixes and upgrades for the Appwrite Functions
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.
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestproduct / functionsFixes and upgrades for the Appwrite FunctionsFixes and upgrades for the Appwrite Functions