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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...