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
- Type generation for Golang
Out of curiosity, are there any plans to add type generation for the Go language?
- AppwriteException: Route not found!
I am executing Appwrite Function from react, getting below error for fetching data from table in function. Code snippet where function throw this error: cons...
- Feedback and Deployment Challenges with ...
Hello world!, I've been developing a project using FastAPI in Python, and I was considering deploying it through Appwrite Functions. However, I encountered a f...