Skip to content

Restrict deletion of features other features depend on #8415

Description

@khvn26

Add dependency validation to DELETE /api/v1/projects/{project_pk}/features/{id}/.

Acceptance criteria

  • Deleting (not archiving) a feature is rejected with a 400 while any SegmentFlagReference row points at it.
  • Removing the last reference allows deletion to proceed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions