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
- 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...