-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: Add support for sub-issue #3580
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3580 +/- ##
==========================================
+ Coverage 91.29% 91.32% +0.03%
==========================================
Files 183 184 +1
Lines 16087 16143 +56
==========================================
+ Hits 14686 14742 +56
Misses 1227 1227
Partials 174 174 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thank you, @e7217! Please follow the instructions in step 4 of CONTRIBUTING.md and push the changes to this PR. |
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.
Thank you, @e7217!
This was a quick review because that's all I currently have time for, but should help move this PR in the right direction.
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
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.
Thank you, @e7217!
Just a few more tweaks, and a few comments that were not addressed previously, please... then we should be ready for a second LGTM+Approval from any other contributor to this repo before merging.
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
@gmlewis |
github/sub_issue.go
Outdated
// TODO: remove custom Accept header when this API fully launches. | ||
req.Header.Set("Accept", mediaTypeV3) |
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.
Looking at the documentation for these endpoints, I'm not seeing any need to add the mediaTypeV3
header, so all these lines can safely be removed, I believe. Feel free to correct me if I've missed them.
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.
Looking at the documentation for these endpoints, I'm not seeing any need to add the
mediaTypeV3
header, so all these lines can safely be removed, I believe. Feel free to correct me if I've missed them.
The header values are included as shown below, and I used the predefined header values from go-github. Since the response was coming back correctly, I applied them as is. If you think it would be better to remove this, I will delete that part. Please let me know your opinion.
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.
Right, but the one you added doesn't match.
You added application/vnd.github.v3+json
, so I think this one can be removed.
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.
@gmlewis ok, I have removed it. Thank you!
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.
Thank you, @e7217!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
@stevehipwell - might you have time for a code review? Thank you!
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.
Thank you, @DiegoDev2! |
Hello,
I have added some features to support
Sub-issue
.The following features have been added:
Sorry for the delay in developing this feature.
Thank you for your review😀
Fixes #3546
cc @gmlewis