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
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...