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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...