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

[BB-1] Remove audit fields form entity #7

Merged
merged 1 commit into from
Aug 8, 2024
Merged

Conversation

phamhongphuc1403
Copy link
Owner

@phamhongphuc1403 phamhongphuc1403 commented Aug 8, 2024

In Domain-Driven Design, audit fields should not be in the domain layer. For example, if a worker quits their job, they should not be deleted but rather set to inactive or suspended.

=> Audit fields should be removed from the domain layer and implemented based on domain business logic

https://superbad-store.atlassian.net/browse/BDB-1

@phamhongphuc1403 phamhongphuc1403 self-assigned this Aug 8, 2024
@phamhongphuc1403 phamhongphuc1403 merged commit 211d512 into main Aug 8, 2024
2 checks passed
@phamhongphuc1403 phamhongphuc1403 deleted the tasks/BB-1 branch August 11, 2024 16:29
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.

1 participant