From 18d2247ee06a3aff8727917a98b72ad451add231 Mon Sep 17 00:00:00 2001 From: Ana Date: Fri, 20 Oct 2023 20:44:07 +0100 Subject: [PATCH] Add migration note --- pages/docs/sdk/migration.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/docs/sdk/migration.mdx b/pages/docs/sdk/migration.mdx index e718353d2..b8cfff214 100644 --- a/pages/docs/sdk/migration.mdx +++ b/pages/docs/sdk/migration.mdx @@ -146,6 +146,8 @@ This is only needed to ensure function runs started on v2 will transition to v3; +If during migration your function ID is not the same, you'll see duplicated functions in your function list. In that case, the recommended approach is to archive the old function using the dashboard. + ## Clients and functions require IDs When instantiating a client using `new Inngest()` or creating a function via `inngest.createFunction()`, it's now required to pass an `id` instead of a `name`. We recommend changing the property name and wrapping the value in `slugify()` to ensure you don't redeploy any functions.