Server actions are public HTTP endpoints. Validate all inputs with Zod or similar before any database operation.
Why This Matters
Without validation, malformed or malicious input can cause SQL errors, data corruption, or injection attacks.
Tags
nextjssupabaseserver-actions
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and 3+ others. Get actionable feedback before code ships.