Is there any way to keep function version with deployment? For example - I want to see in console which version of my function is already running.
example:
function-dart_2.17: helloWorld - v1.0.6
I thought there is a way to set custom deployment id with my unique version string, but cant find it anywhere
We don't have any way of doing this. You might be able to keep a version in the pubspec.yaml and read that at runtime. I'm not sure if the pubspec.yaml is added to built binary though
There is no problem in the runtime - you can generate actual pubspec as dart code with https://pub.dev/packages/pubspec_generator I guess this will be a feature request, Thanks for the answer
Recommended threads
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...
- My cloud functions failing 3 days ago (P...
Hi, My cloud function using python has been failing for 3 days, I didn't push any new deployments... Its something to do with it not recognising the entrypoi...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...