You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/zod/README.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -438,6 +438,9 @@ Convert a zod schema into a codec that applies a bi-directional **key transforma
438
438
439
439
#### Example
440
440
441
+
> [!NOTE]
442
+
> You can play with this example on [StackBlitz](https://stackblitz.com/edit/traversable-zod-snakecase-camelcase?file=test%2Fdemo.test.ts&initialPath=__vitest__/)
> Support for this feature is **experimental** (🔬).
512
518
513
519
Convert a zod schema into a codec that **decodes any objects's keys to camel case** and **encode any object's keys to snake case**, recursively.
514
520
@@ -517,6 +523,9 @@ Convert a zod schema into a codec that **decodes any objects's keys to camel cas
517
523
518
524
#### Example
519
525
526
+
> [!NOTE]
527
+
> You can play with this example on [StackBlitz](https://stackblitz.com/edit/traversable-zod-snakecase-camelcase?file=test%2Fdemo.test.ts&initialPath=__vitest__/)
> Support for this feature is **experimental** (🔬).
607
619
608
620
Convert a zod schema into a codec that **decodes any objects's keys to snake case** and **encode any object's keys to camel case**, recursively.
609
621
@@ -612,6 +624,9 @@ Convert a zod schema into a codec that **decodes any objects's keys to snake cas
612
624
613
625
#### Example
614
626
627
+
> [!NOTE]
628
+
> You can play with this example on [StackBlitz](https://stackblitz.com/edit/traversable-zod-snakecase-camelcase?file=test%2Fdemo.test.ts&initialPath=__vitest__/)
0 commit comments