-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
NodeAggregateNameWasChanged does not create copy on write #4150
Comments
Just to clarify so that I can write appropriate tests: What exactly are the issues here? |
sorry.. what a bad bug description of mine.. I think the issue was, that the aggregate name is always changed in all variants |
|
Node names are currently aggregate scoped, so name changes across variants are by design. |
In preparation of this, I stumbled upon an issue. Currently we have We have to come to a decision whether we allow multiple child node aggregates with the same name - as long as they do not share dimension space points - or not. This can be shown with given example: Here, we no longer can translate Thus, I'd opt for enforcing unique child names on aggregate level, which would prevent us to create or move |
I agree: if we're not 100% sure, we should take the defensive route (i.e. enforce unique child names on aggregate level) since it's easier to relax that constraint if it turns out to yield issues. |
The DoctrineDbalContentGraphProjection directly updates the hierarchyrelations without creating copies of the affected nodes first.
Edit 12th April 2024:
One of the issues is that the node timestamps are not updated when its name changed.
We decided to tackle this because it would require a projection replay if changed lateron.
The text was updated successfully, but these errors were encountered: