Skip to content

feat: validate user creation body#2131

Open
victordb9997 wants to merge 1 commit into
xevrion-v2:mainfrom
victordb9997:add-user-route-validation
Open

feat: validate user creation body#2131
victordb9997 wants to merge 1 commit into
xevrion-v2:mainfrom
victordb9997:add-user-route-validation

Conversation

@victordb9997

@victordb9997 victordb9997 commented Jun 24, 2026

Copy link
Copy Markdown

Fixes #6

Summary

  • Added lightweight validation for the user creation route.
  • Returns clear 400 responses for non-object bodies and missing or blank email values.
  • Leaves the successful response shape unchanged for valid requests.

Verification

  • npm test --workspace apps/api

/claim #6

github-actions Bot added a commit that referenced this pull request Jun 24, 2026
@victordb9997 victordb9997 force-pushed the add-user-route-validation branch from 97656b6 to 113a03c Compare June 24, 2026 02:17
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