You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when working on #765, i found that when explicitly setting driver: 'cloudflare-kv-binding' in hub.kv config, the binding property is not set to default 'KV', causing unstorage to use 'STORAGE'.
resolveKVConfig() in src/kv/setup.ts returns early when driver is explicitly set (line 16), skipping the Cloudflare defaults merge at lines 48-51 that adds binding: 'KV'.
Workaround
Add binding: 'KV' explicitly.
Expected
binding: 'KV' should be merged even when driver is explicitly specified.