Validate the account tab and the My games filter with zod schemas #413
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#411 Pin the TanStack versions and align the route generator
amaurycoudr/chess-project
Reference
amaurycoudr/chess-project#413
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#407
What to build
The account page's tab and My games' result filter are validated by zod 4 schemas the router reads directly, with an unknown value falling back to the default. The URL behaves exactly as today. Under today's lint rule the schemas are exported from the views that own the choices.
Seam: S2 — the account page with the auth harness, My games with the games harness.
Acceptance criteria
validateSearch, with no adapter; an unknown or malformed value falls back via.catch().tryChoiceOfare gone.marked this issue as related to #407
marked this issue as related to #411