Handle edge deletion from loop (#14489)

Update delete edge endpoint. It should handles the deletion between the
iterator and the loop step ids
This commit is contained in:
Thomas Trompette
2025-09-15 10:20:33 +02:00
committed by GitHub
parent 4d2c3b7431
commit 155aa4995e
6 changed files with 285 additions and 21 deletions
@@ -56,13 +56,19 @@ export class WorkflowVersionEdgeResolver {
async deleteWorkflowVersionEdge(
@AuthWorkspace() { id: workspaceId }: Workspace,
@Args('input')
{ source, target, workflowVersionId }: CreateWorkflowVersionEdgeInput,
{
source,
target,
workflowVersionId,
sourceConnectionOptions,
}: CreateWorkflowVersionEdgeInput,
): Promise<WorkflowVersionStepChangesDTO> {
return this.workflowVersionEdgeWorkspaceService.deleteWorkflowVersionEdge({
source,
target,
workflowVersionId,
workspaceId,
sourceConnectionOptions,
});
}
}