In the process of developing Function with VSCode, how can we test whether the function logic of this method is correct in VSCode? Can it only be tested by Appwrite after deployment?
i highly recommend deploying to an appwrite instance and testing it in there incrementally as you develop. it would be difficult to troubleshoot if your function worked outside of Appwrite and then failed inside appwrite
In this case, it will slow down the development progress very much. From my point of view
i understand the frustration and we have plans to improve this.
you can use open runtimes to develop locally, but, again, i don't recommend this because it will be difficult to troubleshoot if it doesn't work when you finally deploy in appwrite
Here are some instructions if you want to run open runtimes locally: https://github.com/open-runtimes/open-runtimes/blob/main/runtimes/dart-3.1/README.md
Recommended threads
- Appwrite freezes when deploying function...
I have two VPS servers, one for development and one for production, and when pushing a function to GitHub all functions should rebuild on both prod and dev but ...
- Invalid `functionId` param when creating...
Upgraded to Appwrite 1.8.0 and new functions can't be created with a "-" character in the function id. This worked fine previously. The docs mention: "Valid cha...
- Function is not executed
my function for sending email when specific events is triggered is not executed sometimes. sometimes is working properly, i am getting email ...when function i...