Skip to content

feat: add issue reaction methods and fix comment reaction template #250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2025

Conversation

javoire
Copy link
Member

@javoire javoire commented Jul 30, 2025

  • Add createIssueReaction() and deleteIssueReaction() methods
  • Fix COMMENTS_REACTION_ID_TEMPLATE to use correct comment endpoint
  • Update deleteCommentReaction method signature to use commentId

javoire and others added 2 commits July 30, 2025 15:13
- Add createIssueReaction() and deleteIssueReaction() methods
- Fix COMMENTS_REACTION_ID_TEMPLATE to use correct comment endpoint
- Add comprehensive tests for issue reaction functionality
- Update deleteCommentReaction method signature to use commentId

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@@ -260,14 +261,14 @@ public CompletableFuture<CommentReaction> createCommentReaction(
* href="https://docs.github.com/en/rest/reactions/reactions?apiVersion=2022-11-28#delete-an-issue-comment-reaction">List
* reactions for an issue comment</a>
*
* @param issueNumber the issue number
* @param commentId the comment id
* @param reactionId the reaction id
* @return a CompletableFuture containing the HTTP response
*/
public CompletableFuture<HttpResponse> deleteCommentReaction(
Copy link
Member Author

Choose a reason for hiding this comment

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

this one incorrectly deleted an issue reaction instead of an issue comment reaction, like the method name suggests

@Leolebleis Leolebleis merged commit 56c95b3 into spotify:master Aug 1, 2025
3 checks passed
@javoire javoire deleted the issue-reactions branch August 1, 2025 12:04
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