-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add minimize and unminimize functions for IssueComment class #3005
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
Add minimize and unminimize functions for IssueComment class #3005
Conversation
EnricoMi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Looks like we need GraphQL testing capabilities in this project.
EnricoMi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there is testing available. Can you add some tests for those two new IssueComment methods?
I added the tests. Are they enough? |
|
I have added missing test data. |
Thank you so much! |
EnricoMi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This pull request adds two new functions,
minimizeandunminimize, to theIssueCommentclass. These functions allow users to minimize and unminimize comments using the GitHub GraphQL API. Theminimizefunction takes an optional reason parameter and sends a mutation to minimize the comment. Theunminimizefunction sends a mutation to unminimize the comment. These functions provide more control and flexibility for managing comments in GitHub issues.