Skip to content

Commit fec802c

Browse files
committed
Add experimental warning callout
1 parent e735753 commit fec802c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ That's it! Conformal automatically handles FormData parsing, type coercion, and
7777

7878
### Zod Utilities
7979

80+
> ⚠️ **Experimental**: These utilities are still in development and may change.
81+
8082
- **[Zod Field Schemas](src/zod/README.md#field-schemas)** - Zod schemas with automatic form input preprocessing
8183

8284
## License

src/zod/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Zod Utilities
22

3+
> ⚠️ **Experimental**: These utilities are still in development and may change.
4+
35
The Zod Utilities are provided under the `conformal/zod` subpath. Zod is an optional peer dependency, so you can freely choose another Standard Schema library if you prefer without depending on Zod.
46

57
## Field Schemas
@@ -12,7 +14,7 @@ import * as zf from "conformal/zod";
1214
const formSchema = zf.object({
1315
name: zf.string().optional(),
1416
email: zf.email(),
15-
age: zf.number().min(13, "Must be at least 13 years old"),
17+
age: zf.number(),
1618
hobbies: zf.array(zf.string()),
1719
birthDate: zf.date(),
1820
acceptTerms: zf.boolean(),

0 commit comments

Comments
 (0)