Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add email validation #2431

Merged
merged 2 commits into from
Aug 19, 2024
Merged

feat: add email validation #2431

merged 2 commits into from
Aug 19, 2024

Conversation

brunomiguelpinto
Copy link
Contributor

@brunomiguelpinto brunomiguelpinto commented Aug 19, 2024

Context

This pull request changes Customers::CreateService adding email validation to ensure only valid email addresses are accepted when creating or updating customer records.

This is particularly important because we sync these emails with Stripe, which enforces strict email validation. Without this check, invalid emails could cause the Stripe synchronization process to fail

@brunomiguelpinto brunomiguelpinto merged commit a6a3632 into main Aug 19, 2024
6 checks passed
@brunomiguelpinto brunomiguelpinto deleted the feat-add-email-validation branch August 19, 2024 16:12
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.

3 participants