workers-sdk
workers-sdk copied to clipboard
getPlatformProxy() persist argument is inconsistent with wrangler cli --persist-to argument
getPlatformProxy({persist: {path: ".state"}) persists the state in .state/<plugin>
It is inconsistent with wrangler
wrangler d1 migrations apply DATABASE --local --persist-to .state persists the state in a v3 subfolder: .state/v3/d1
reference: https://github.com/opennextjs/opennextjs-cloudflare/issues/697 wrangler: 4.18