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

Open
wants to merge 1 commit into
base: rel-9.1
Choose a base branch
from
Open

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

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