Skip to content

Conversation

shaibalster
Copy link

Addinging self delegation can help adding extra logic before we set the variable.
We can add the same extra logic in property set value too but it looks cleaner to have a separate function.
For example, before setting email, we can check the format.

Addinging self delegation can help adding extra logic
before we set the variable.
We can add the same extra logic in property set value too
but it looks cleaner to have a separate function.
For example, before setting email, we can check the format.
@shaibalster shaibalster marked this pull request as draft February 3, 2023 17:07
1 - Added Unique email rule violation exception catch and return null in case of violation
2 - Added email format validation rule checker
@shaibalster
Copy link
Author

Would really love to get review as I am from embedded system domain and learning internet-based applications development.

@shaibalster shaibalster marked this pull request as ready for review February 4, 2023 05:02
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.

2 participants