Skip to content

Commit

Permalink
add note about typecast
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed Oct 9, 2024
1 parent bdfcc59 commit d03e8a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function generateMetadata(props: { params: { slug: string } }) {
}
```

> **Good to know:** When this codemod identifies a spot that might require manual intervention, but we aren't able to determine the exact fix, it will add a comment to the code to inform the user that it needs to be manually updated. These comments are prefixed with **Next.js Dynamic Async API Codemod**. Your build will error until these comments are explicitly removed.
> **Good to know:** When this codemod identifies a spot that might require manual intervention, but we aren't able to determine the exact fix, it will add a comment (or typecast) to the code to inform the user that it needs to be manually updated. These comments are prefixed with **Next.js Dynamic Async API Codemod**, and typecasts are prefixed with `UnsafeUnwrapped`. Your build will error until these comments are explicitly removed.
#### Replace `geo` and `ip` properties of `NextRequest` with `@vercel/functions`

Expand Down

0 comments on commit d03e8a0

Please sign in to comment.