0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

fix(start): fix server function handling of standard schemas

Some implementations (namely Valibot) still include the value key for failure results, which is technically still correct in structural typing (since an object type is a *minimum* requirement). What can actually be relied on is that result.issues is undefined if the result is valid, as this is in the spec.

Currently failure results from Valibot are still treated as success.
This commit is contained in:
Ben Durrant 2024-11-24 12:45:07 +00:00 • committed by GitHub
commit 73ded2e312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194