Combining data to ensure a unique key is certainly an option, but that is generally not a favorable
Combining data to ensure a unique key is certainly an option, but that is generally not a favorable option because then all users must know to split the ids or concat to get the ids.
As it is right now, the namespace is really just a piece of metadata from an api perspective.
The problem with the suggestion of several indexes, is that I store data for multiple types of data across multiple customers. As of now I have an index per type of data (because they have the same shape). Ideally the namespace should be all I need to use the same index for all customers, but without prefixing the key, I cannot ensure uniqueness.
If I created an index per customer I would be afraid of running into Cloudflare limits on the number of indexes I create.
Oh, but, if namespace were upleveled, an empty (default) namespace could still be a valid namespace...
As it is right now, the namespace is really just a piece of metadata from an api perspective.
The problem with the suggestion of several indexes, is that I store data for multiple types of data across multiple customers. As of now I have an index per type of data (because they have the same shape). Ideally the namespace should be all I need to use the same index for all customers, but without prefixing the key, I cannot ensure uniqueness.
If I created an index per customer I would be afraid of running into Cloudflare limits on the number of indexes I create.
Oh, but, if namespace were upleveled, an empty (default) namespace could still be a valid namespace...

