
There are some codes, like setting headers and other utils I want to share between functions. Having them in a utils
folder at the root of my project is not working, since only the function's path is deployed. Any ideas how I can reuse some utils?

you'll need to create a symlink in your function folder that points to the common code

for example, common is a symlink here: https://github.com/stnguyen90/places/tree/feature/1.3-upgrade/appwrite-functions/create-comment/src

at the end I went with a single folder for all functions and different entry points
Recommended threads
- Random Execution Timeouts and getaddrinf...
Hi, I’m running a self-hosted Appwrite (v1.5.10) on a VPS. My setup involves calling an external API many times from Appwrite Functions. Under higher load, I oc...
- Issue Accessing Deployed Node.js API on ...
I deployed a Node.js API on Appwrite Cloud Functions, and the logs show the server running on port 2000. But when I access the domain, it says: "No active deplo...
- Best Practice for Monitoring document ch...
Just wanted to ask about the best-practice for keeping track of changes of a document. E.g. a document is a blog post and users can "like" it. Currently I am sa...
