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
- Unable to connect the git repo with appw...
I am trying to connect my existing repo with the appwrite functions. I have 2 functions in the same repo, and i was able to execute those through cli and its vi...
- Creating a function on appwrite Cloud.
I am trying to create a function on Appwrite cloud. I go to the console. I hit : Create function I choose DART-3.5 I put a name for my function : NameFunction...
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...