workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

getPlatformProxy() persist argument is inconsistent with wrangler cli --persist-to argument

Open vicb opened this issue 6 months ago • 1 comments

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

vicb avatar Jun 03 '25 14:06 vicb