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

Add ElementCascadingDeleter to fix FK errors while deleting element which is referenced in code scopes #75

Merged
merged 9 commits into from
Jun 26, 2023

Conversation

DeividasDavidav
Copy link
Contributor

Added ElementCascadingDeleter, which works similarly to ElementTreeDeleter, but also finds elements that reference this element in their code scopes and deletes those elements.

#61

@CLAassistant
Copy link

CLAassistant commented Jun 16, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@MichaelBelousov MichaelBelousov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor comments

packages/transformer/src/ElementCascadingDeleter.ts Outdated Show resolved Hide resolved
packages/transformer/src/ElementCascadingDeleter.ts Outdated Show resolved Hide resolved
packages/transformer/src/ElementCascadingDeleter.ts Outdated Show resolved Hide resolved
@DeividasDavidav DeividasDavidav merged commit df80ed2 into main Jun 26, 2023
12 checks passed
@DeividasDavidav DeividasDavidav deleted the DeividasDavidav/ElementCascadingDeleter branch June 26, 2023 12:39
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.

3 participants