Skip to content
Prev Previous commit
Next Next commit
Update src/content/docs/en/guides/upgrade-to/v6.mdx
Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
matthewp and sarah11918 authored Dec 11, 2025
commit d2c20afcef0c3049ca0ea427e9959dab0098cbdb
2 changes: 1 addition & 1 deletion src/content/docs/en/guides/upgrade-to/v6.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Notably, many `string()` formats have been deprecated (e.g. `z.string().email()`
}
```

You can import Zod from `astro/zod` to ensure you're using the same version of Zod that Astro uses internally:
You can ensure you're the same version of Zod that Astro uses internally by [importing Zod from `astro/zod`](#deprecated-astroschema-and-z-from-astrocontent).

```ts
import { z } from 'astro/zod';
Expand Down