Skip to content

Commit

Permalink
Add migration note
Browse files Browse the repository at this point in the history
  • Loading branch information
anafilipadealmeida committed Oct 20, 2023
1 parent a55c4a1 commit 18d2247
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/docs/sdk/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ This is only needed to ensure function runs started on v2 will transition to v3;
</Col>
</Row>

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.
Expand Down

0 comments on commit 18d2247

Please sign in to comment.