Support Standard Schema to validate Server Actions with ArkType, Valibot, Zod and Co. #75086
fabian-hiller
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
schemaAction
function based on Standard Schema (and optionallydecode-formdata
)Non-Goals
No response
Background
A consortium of schema library authors have collaborated to craft a standard interface for schema libraries to benefit the entire JavaScript ecosystem. Standard Schema provides third-party libraries a uniform integration to automatically support multiple schema libraries at once, without adding a single runtime dependency. This simplifies implementation, prevents vendor lock-in, and enables innovation.
Repo: https://github.com/standard-schema/standard-schema
Proposal
Beta Was this translation helpful? Give feedback.
All reactions