refactor: unify task input validation #343
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
status:blocked
track:api
track:auto
track:core
track:deploy
track:infra
track:ui
type:cleanup
type:docs
type:epic
type:release
type:research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/delta!343
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-320-task-input-normalization"
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?
Problem
Task create/update validation was split between API routes, server actions, and panel save helpers, so date, URL, recurrence, and status normalization could diverge.
Solution
src/lib/validation.ts.Verification
nix develop --command pnpm exec vitest run tests/lib/validation.test.ts tests/lib/task-panel-save.test.ts tests/api/tasks-route-validation.test.ts --reporter=verbosenix develop --command just lintnix develop --command just testCloses #320