I'm curious whats the proper way to deploy functions which are written in TypeScript.
Currently I manually build the project and than deploy it. Ideally I would think that I should add the build folder where I put the result of typescript should be excluded too and instead be build while deploying the function?
Also I can't find proper types for the runtime request and response.
For now, you'll have to build before deploying. In the next version of Appwrite Functions, we plan to let you specify build commands so that you can tell Appwrite how to build the function after deploying.
Take a look at this project that has typescript functions: https://github.com/stnguyen90/places
Okay I thought I missed something, but awesome to hear that it's planned for the next version of functions, thanks
[SOLVED] TypeScript Functions
Recommended threads
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Python Function not working
I am getting this issue as well. Doesnt look like there was a solution as you guys were not able to replicate. Below is my code as well as the error. I started...