Skip to content

Surajsureshkumar crud functionality for comments on request page#39

Open
surajsureshkumar wants to merge 2 commits intotestfrom
surajsureshkumar_crud_functionality_for_comments_on_request_page
Open

Surajsureshkumar crud functionality for comments on request page#39
surajsureshkumar wants to merge 2 commits intotestfrom
surajsureshkumar_crud_functionality_for_comments_on_request_page

Conversation

@surajsureshkumar
Copy link

Implemented full CRUD functionality for managing comments on the request page. This includes:

  • Creating a new comment
  • Retrieving a comment by ID
  • Updating an existing comment
  • Deleting a comment

Added unit and integration tests for CommentController to validate all endpoints.

Files Added/Changed

  • CommentController.java
  • CommentDTO.java
  • CommentService.java (interface)
  • CommentServiceImpl.java
  • CommentRepository.java
  • CommentControllerTest.java
  • Comment.java (entity)
  • pom.xml (added dependency)
  • Request.java (added one to many relationship)

⚠️ Please review Request.java mapping to comments and vice versa change carefully—it may need further testing.

@surajsureshkumar surajsureshkumar changed the base branch from main to test May 6, 2025 15:26
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.

1 participant