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
- Tips for Debugging Appwrite Functions Lo...
Hi everyone! 👋 I have an Appwrite Function running locally with Docker, but I’m struggling to debug it because execution doesn’t reach the breakpoints I set. ...
- AttributeError: 'Context' object has no ...
I'm getting an error executing my function. I'm not able to replicate this locally since I have to use a mock context. Is there a way to debug this kind of erro...
- SyntaxError: The requested module 'node-...
I am trying to use appwrite functions and in the function i am creating rows but i got this error when i executed the funtion. As i checked docs there TablesDB...