Worker Request Time KV binding

Is there anyway to bind / get a reference to a KV namespace not listed in my toml file at request time? For example I have a CustomersKV namespace that has all my customers. When a request for customer "Bob" comes in I want to get a reference to a KV called CUSTOMER_BOB.
2 Replies
Chaika
Chaika12mo ago
Not currently. There's the API, but that would go all the way to Core/not request it from the same Edge What you're talking about is basically Dynamic Bindings, there's been some talk of them in the context of D1/Queues/etc but nothing else Post by an employee: https://discord.com/channels/595317990191398933/1008691665688604783/1064130494880559145
will0819
will0819OP12mo ago
awesome, thanks for the info
Want results from more Discord servers?
Add your server