Rafal
11/26/2022, 6:45 PMwrangler dev
matt
11/26/2022, 6:46 PMRafal
11/26/2022, 6:47 PMRafal
11/26/2022, 6:48 PMRafal
11/26/2022, 6:48 PMmatt
11/26/2022, 6:51 PMmatt
11/26/2022, 7:20 PMChannelsDO
and ChannelDO
in your migration:
[[migrations]]
tag = "v1"
new_classes = ["ChannelsDO", "ChannelDO"]
Rafal
11/26/2022, 11:22 PMmatt
11/27/2022, 12:41 AMwrangler delete
and publish againRafal
11/27/2022, 9:58 AMRafal
11/27/2022, 12:00 PMwrangler delete
?matt
11/27/2022, 3:58 PMrodbs
11/27/2022, 5:37 PMrodbs
11/27/2022, 5:42 PM[pages:err] DurableObjectError [ERR_CLASS_NOT_FOUND]: Class "List" for Durable Object "LIST" not found
at DurableObjectsPlugin.reload (C:\trials\remix-pages\node_modules\@miniflare\durable-objects\src\plugin.ts:316:15)
It's like what is said in github above: the export class in the server.js doesn't export the classJacobParis
11/27/2022, 5:49 PMJacobParis
11/27/2022, 5:50 PMJacobParis
11/27/2022, 5:50 PMDavid Hogan
11/28/2022, 3:19 AMDavid Hogan
11/28/2022, 3:22 AM--transfer-class <from script> <from class> <to class>
But I don't see a way to do same using the toml file.David Hogan
11/28/2022, 3:25 AMDavid Hogan
11/28/2022, 3:37 AMtransferred_classes = [{from_script = "...", from="(class name)", to = "(class name)" }]
but I don't think support for this has made it to wrangler 2.
Which makes me wonder if transfer migrations are still supported at all, in which case I think the docs should be updated to remove reference to themDavid Hogan
11/28/2022, 4:19 AM- Unexpected fields found in migrations field: "transferred_classes"
), it actually looks like using transferred_classes in wrangler.toml workedmatt
11/28/2022, 3:11 PMDavid Hogan
11/28/2022, 10:11 PMDavid Hogan
11/28/2022, 11:28 PMDavid Hogan
11/29/2022, 6:52 AMnclevenger
11/29/2022, 11:34 AMUnsmart | Tech debt
11/29/2022, 12:59 PMmoog
11/29/2022, 4:42 PMHardAtWork
11/29/2022, 4:44 PM