Skip to content

Fix false email uniqueness errors when updating users#209

Merged
roncodes merged 2 commits intomainfrom
feature/fix-user-update-email-validation
Apr 24, 2026
Merged

Fix false email uniqueness errors when updating users#209
roncodes merged 2 commits intomainfrom
feature/fix-user-update-email-validation

Conversation

@roncodes
Copy link
Copy Markdown
Member

@roncodes roncodes commented Apr 24, 2026

Summary

  • resolve the update request route parameter from the generated REST wildcard
  • keep the unique email and phone validators ignoring the current user during updates
  • fix unchanged email addresses being rejected when clients send the full user payload

Verification

  • php -l src/Http/Requests/UpdateUserRequest.php

@roncodes roncodes merged commit 028682f into main Apr 24, 2026
2 checks passed
@roncodes roncodes deleted the feature/fix-user-update-email-validation branch April 24, 2026 03:57
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.

1 participant