Why is an object's ID random by default rather than a string converted from the name? #8229
Unanswered
ZeroAurora
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I started using Appwrite to build an app recently and noticed that nearly every object id is randomly chosen by default.
By testing on Appwrite Cloud, I understand that orgnization names and project names have chance to collide. But it's not the case for objects like databases, collections and more. These objects are isolated per-project and won't collide with objects in other projects.
I would recommend the sane default id for these objects to be a converted id from the name, i.e. convert Unicode characters to equivalents and whitespaces to hyphens etc.. But please tell me if this is a choice by design. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions