Skip to content

Conversation

@moalidv
Copy link
Collaborator

@moalidv moalidv commented Oct 28, 2025

Summary

@moalidv moalidv requested a review from mmoehabb October 28, 2025 14:29
@moalidv moalidv self-assigned this Oct 28, 2025
@moalidv moalidv added the enhancement New feature or request label Oct 28, 2025
Copy link
Collaborator

@mmoehabb mmoehabb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work. I have just one comment please give it a look.


export function validatePhoneGlobally(
phone: string,
region?: string
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the region is optional?
I think we should make it required in order to be able to spot the places where it must be modified allover the codebase. Moreover, it should have a more specific type rather than 'string'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants