Skip to content

Update part9c.md: update zod to v4#4076

Closed
jchanke wants to merge 1 commit intofullstack-hy2020:sourcefrom
jchanke:patch-4
Closed

Update part9c.md: update zod to v4#4076
jchanke wants to merge 1 commit intofullstack-hy2020:sourcefrom
jchanke:patch-4

Conversation

@jchanke
Copy link

@jchanke jchanke commented Jun 25, 2025

updated zod syntax for the latest version of zod (v4).

updated zod syntax for the latest version of zod (v4).

* updated `z.nativeEnum() --> z.enum()` ([link to docs](https://zod.dev/api?id=enums))
* updated `z.string().date() --> z.iso.date()` ([link to docs](https://zod.dev/api?id=iso-dates)
@vejol vejol added the part 9 label Aug 11, 2025
@mluukkai
Copy link
Contributor

fixed in new material

@mluukkai mluukkai closed this Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants