Skip to content

[agent] Add input validation to user routes#1154

Open
automatizacionahedo-sudo wants to merge 1 commit into
xevrion-v2:mainfrom
automatizacionahedo-sudo:feat/input-validation
Open

[agent] Add input validation to user routes#1154
automatizacionahedo-sudo wants to merge 1 commit into
xevrion-v2:mainfrom
automatizacionahedo-sudo:feat/input-validation

Conversation

@automatizacionahedo-sudo
Copy link
Copy Markdown

Closes #6

Changes Made

  • Added express-validator dependency
  • Added input validation for POST /users: name (non-empty string) and email (valid format)
  • Returns 400 with error details on validation failure

AI Agent Checklist

github-actions Bot added a commit that referenced this pull request Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add input validation to user routes

1 participant