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:
parent
64e3b3cec0
commit
73ded2e312
1 changed files with 4 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue