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

Added self-delegation functions in Customer Entity #47

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Feb 3, 2023

  1. Added self delegation functions in Customer entity

    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.
    Shaibal-Microsoft committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    213a9d1 View commit details
    Browse the repository at this point in the history
  2. Refactored customer Entity

    1 - Added Unique email rule violation exception catch and return null in case of violation
    2 - Added email format validation rule checker
    Shaibal-Microsoft committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    a186eeb View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. Configuration menu
    Copy the full SHA
    6eafa34 View commit details
    Browse the repository at this point in the history