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

Prevent invalid deletion of change requests and cascade delete feature states #1999

Merged
merged 3 commits into from
Mar 13, 2023

Conversation

matthewelwell
Copy link
Contributor

Changes

Fixes #1988 by ensuring that feature states are deleted when associated change requests are deleted. As part of this, it also prevents change requests from being deleted if the feature state is already live.

How did you test this code?

Added unit test. Note that there is a related change in the flagsmith/flagsmith-workflows repository as well.

@matthewelwell matthewelwell linked an issue Mar 6, 2023 that may be closed by this pull request
4 tasks
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2023

Uffizzi Preview deployment-18247 was deleted.

@matthewelwell matthewelwell merged commit 808b76b into main Mar 13, 2023
@matthewelwell matthewelwell deleted the 1988-scheduled-change-requests-deletion-issues branch March 13, 2023 10:53
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.

Scheduled Change Requests deletion issues
2 participants