
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
- Sam AWS CLI x Appwrite
Hello, I have a problem with my functions from Appwrite. Currently, we use AWS SAM CLI to simulate an API Gateway with Lambdas, where the client is initiated...
- Function does not have createDocument ac...
I have a function which I'm trying to have create a document in a collection. The collection in question has row security enabled and permissions set to grant u...
- Getting Function error: Protocol "https:...
Hi guys, I have a function on node-16.0 runtime but whenever I try to run the function I keep getting this error. I have tried putting htttp:// in my endpoint b...
