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

Delete all blog posts when deleting the blog. #22298

Merged
merged 1 commit into from
Mar 10, 2025
Merged

Delete all blog posts when deleting the blog. #22298

merged 1 commit into from
Mar 10, 2025

Conversation

maliming
Copy link
Member

@maliming maliming commented Mar 7, 2025

Resolves #22294

@enisn Why is BlogPost an AggregateRoot instead of an Entity?

Blog one to many BlogPost

@maliming maliming added this to the 9.1-patch milestone Mar 7, 2025
@maliming maliming requested a review from enisn March 7, 2025 08:11
@enisn
Copy link
Member

enisn commented Mar 7, 2025

Blog was designed standalone AggregateRoot at the first and it can be created without a relation to blog,
But then it was changed and relation to a blog made mandatory. It seems, in the current logic, we can update BlogPost as Entity. But it'll a breaking-change

@maliming
Copy link
Member Author

OK, we can consider changing it to 9.2. You can merge this PR to 9.1.

@enisn enisn merged commit e377486 into rel-9.1 Mar 10, 2025
3 checks passed
@enisn enisn deleted the blog-post branch March 10, 2025 07:28
@maliming maliming mentioned this pull request Mar 13, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants