t-convex-nextjs-saas/.sisyphus/evidence/task-4-schema-validation-runtime.txt

8 lines
406 B
Text
Raw Normal View History

Runtime schema validation summary
Verified with `npx tsx` against exported createChangePasswordSchema(...):
- mismatched confirmPassword -> parse failed on path ["confirmPassword"] with message `no-match`
- currentPassword === newPassword -> parse failed on path ["newPassword"] with message `must-differ`
This confirms the client-side schema blocks both required validation scenarios before submission.