Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Allow cascading updates to be disabled. #2897

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

Merged
michael-simons merged 3 commits into main from issue/cascade
May 8, 2024
Merged

Conversation

Copy link
Collaborator

@michael-simons michael-simons commented May 8, 2024
edited
Loading

This adds a boolean attribute cascadeUpdates to @Relationship, selectively preventing the cascade of updates. This attribute will be false by default.

It does not have an effect when storing new entities.
It does not affect the deletion of relationships.
It does not affect the storing of relationships with or without properties.

Be aware that with a non-cascading update, you can bring your aggregate root in a state in which it is no longer in sync with the actual state of it in the graph.

Closes #2604

zsoltkatona reacted with hooray emoji
@michael-simons michael-simons changed the title (削除) issue/cascade (削除ここまで) (追記) feat: Allow cascading updates to be disabled. (追記ここまで) May 8, 2024
@michael-simons michael-simons deleted the issue/cascade branch May 8, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@meistermeier meistermeier Awaiting requested review from meistermeier

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Optimistic locking mechanism "cascading" through relationships
1 participant

AltStyle によって変換されたページ (->オリジナル) /