Skip to content

Conversation

@Ryaken-Nakamoto
Copy link
Contributor

ℹ️ Issue

Issue #67

📝 Description

Added /delete_labels route to delete associated labels with a task entity.

This is deleting two labels from task 1. It had labelIds 1 and 3 associated with it, and we can see the results reflected in the join table.
Screenshot 2025-08-17 at 10 34 04 PM
Screenshot 2025-08-17 at 10 37 42 PM
Screenshot 2025-08-17 at 10 37 05 PM

And the following screenshots are for trying to access invalid/non-existent ids:

Screenshot 2025-08-17 at 10 39 54 PM Screenshot 2025-08-17 at 10 50 17 PM

✔️ Verification

Created unit tests for both the service and controller layers, checking for invalid data types, and non-existent label/task ids.

NOTE: will probably update validation with validation pipe and DTO dedicated for both the delete and add label routes.

Copy link
Member

@amywng amywng left a comment

Choose a reason for hiding this comment

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

overall lgtm! left some comments

Copy link
Member

@maxn990 maxn990 left a comment

Choose a reason for hiding this comment

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

Looks good, I agree with Amy's comments :)

@amywng amywng requested a review from maxn990 August 20, 2025 14:14
@amywng amywng merged commit 53aecdf into main Aug 20, 2025
@amywng amywng deleted the remove_labels branch August 20, 2025 19:32
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.

4 participants