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
- Feedback and Deployment Challenges with ...
Hello world!, I've been developing a project using FastAPI in Python, and I was considering deploying it through Appwrite Functions. However, I encountered a f...
- Bulk feature status
Hi there, I am using version 1.7.4 self hosted and wanted to use the bulk operations in a dart function. I saw that in the dart_appwrite sdk version 16.1.0 it ...
- CORS preflight returns 500 on Dart funct...
Hey everyone 👋 I’m running a Dart cloud function, Every time I respond to a preflight (OPTIONS) request, I get a 500 internal error, and the logs show: ```NoSu...