I've tried everything, using workspaces, modules, symbolic links, binaries, using the root of repo and "cd" to the function but it always fails becaise git is not installed or something weird with the build.
I'm trying to have a common folder in the root with shared code and various functions inside the "functions" folder. Essentially I want a mono repo with shared code between functions. No matter what I do or which configuration, nothing works.
Did someone manage to achieve this?
Also it seems based on the "appwrite.json" there's no way to tell appwrite to download the root and cd to the function folder as it seems it is only possible when you connect Git and if you do not only it selects 1 CPU (which is not avaialbe on the free tier) but if you change the json it removes the git connection.
When I download the root and tell go to use the common folder either using mod or workspaces.
Preparing for build ...
Building ...
Compiling ...
go: openruntimes/handler@v0.0.0 (replaced by /usr/local/build): reading ../../build/go.mod: open /usr/local/build/go.mod: no such file or directory
Recommended threads
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- Confused about Appwrite Pro pricing
Hi. I've been subscribed to the $25 Appwrite Pro plan, but I've been getting charged $40. I have two projects on my account. I was wondering where exactly the e...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...