feat: Support Standard Schema#1155
Conversation
commit: |
|
Thanks for your work! Will review and maintainers will discuss. |
|
I recommend taking a look at our new Standard JSON Schema spec RFC: standard-schema/standard-schema#134 |
|
I've started playing around with converting this PR to Standard JSON Schema. There's a lot I don't understand in this code-base, but perhaps what I have might motivate others some or provoke some discussion: dannote#1 Is there a compelling reason to keep Zod v3? I realize v4 isn't even a year old yet. But the last PR in that stack removes v3 support & it feels like a lot of complexity is just gone, including our vendored Zod v3 instance. Would be a nice strong move towards #164. |
|
Thanks for this, superseded by #1689. Closing. |
Motivation and Context
How Has This Been Tested?
npm testsuitenpm test -- src/server/valibot-compat.test.tsBreaking Changes
Zod is no longer a required peer dependency; users need to install their preferred Standard Schema library (e.g., Zod, Valibot).
Types of Changes
Checklist
Additional Context
@standard-community/standard-json(async).