elnurOriginal post
Quality
Is this possible?
It would make enforcing relationships easier.
Eg a like document id could be that of the post and user like this
likeId: postId_userId
As far as I can tell UUIDs need at least 16 chars.which is still possible without the underscore if using ID.unique, but using a client side id generation wouldn’t work since they are usually longer.
Summary
Developers are asking if it's possible to increase the max length of DocumentId for easier relationship enforcement. They suggest creating IDs like postId_userId. UUIDs need at least 16 characters, which is still possible for this format. However, client-side ID generation with longer IDs wouldn't work.