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

Reorganizing the structure of the owner directory. #1736

Conversation

abdurraffaysyed
Copy link

Problem

Pet and Visit were also kept in the same directory as the Owner, which is not following the modular design approach.

Current Solution

Broke down the components into their own directories for better management.

Benefits

  • Code readability can be enhanced.

  • Further, debugging can be done efficiently as we would be able to locate the directory where the bug needs to be resolved or where we need to do any sort of enhancement.

@abdurraffaysyed
Copy link
Author

Related work item

#1729

@dsyer
Copy link
Member

dsyer commented Dec 17, 2024

Pets and visits are part of the owner root entity in DDD terms. You can't separate them without breaking up the domain.

@abdurraffaysyed
Copy link
Author

Thank you for highlighting the design consideration. I'll be closing this pull request to stay aligned with the design principles of the project.

@abdurraffaysyed abdurraffaysyed deleted the ReorganisingOwnerDirectory branch December 17, 2024 19:49
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