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
- 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...
- 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 ...
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...