Skip to content

Conversation

iambriccardo
Copy link
Contributor

@iambriccardo iambriccardo commented Aug 7, 2025

This PR introduces a new endpoint that atomically deletes both a destination and its associated pipeline. It also includes the following improvements:

  • Ensures that the replicator entry is deleted when its corresponding pipeline is removed. This is done assuming that there can be a single replicator bound per pipeline.
  • Removes ON DELETE CASCADE constraints for sources and destinations. Instead, the system now explicitly throws an error if a source or destination with active pipelines is deleted. This makes deletion behavior more predictable and explicit.

@iambriccardo iambriccardo marked this pull request as ready for review August 8, 2025 07:08
@iambriccardo iambriccardo requested a review from a team as a code owner August 8, 2025 07:08
@iambriccardo iambriccardo merged commit 36a51c3 into main Aug 8, 2025
3 checks passed
@iambriccardo iambriccardo deleted the riccardobusetti/feat/new-endpoint branch August 8, 2025 07:08
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.

2 participants