Uh oh!
There was an error while loading. Please reload this page.
Add GetTeamBySlug methods in teamsService - #1171
Conversation
googlebot
commented
May 16, 2019
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
Codecov Report
@@ Coverage Diff @@## master #1171 +/- ##
==========================================
+ Coverage 70.2% 70.25% +0.05%
==========================================
Files 84 84 Lines 5857 5867 +10 ==========================================
+ Hits 4112 4122 +10
Misses 956 956 Partials 789 789
Continue to review full report at Codecov.
|
4392098 to
9f0dfdfCompareMy company (AppDirect) signed the CLA. I don't see the information on https://cla.developers.google.com/clas |
|
adrienzieba
commented
May 17, 2019
CLA should be good now |
googlebot
commented
May 17, 2019
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @adrienzieba!
One change request, please, and one question that maybe @gauntface has an opinion about.
Uh oh!
There was an error while loading. Please reload this page.
| return t, resp, nil | ||
| } | ||
| // GetTeamByName fetches a team by slug. |
There was a problem hiding this comment.
Since the parameter is called slug and your documentation also says slug, and the GitHub docs say "the team's slug", what do you think about calling this method GetTeamBySlug ?
I'm actually fine either way, but I had no clue what a slug was until I looked at the linked GitHub docs.
There was a problem hiding this comment.
It was just to use the same name used as title inside the github documentation.
I'm fine changing the name of the method to GetTeamBySlug if needed.
There was a problem hiding this comment.
Right... that makes total sense. Let's see what @gauntface thinks.
There was a problem hiding this comment.
Sorry for the delay on this - GetTeamBySlug please.
The docs say: /orgs/:org/teams/:team_slug so I would definitely use slug, since it's different from the name.
There was a problem hiding this comment.
@gauntface, @gmlewis I renamed the method. Thank you for your review.
adrienzieba
commented
May 23, 2019
Any update ? |
gmlewis
commented
May 25, 2019
@gauntface - do you have an opinion about my comment above? |
gauntface
left a comment
There was a problem hiding this comment.
Really sorry for the delay on this.
| return t, resp, nil | ||
| } | ||
| // GetTeamByName fetches a team by slug. |
There was a problem hiding this comment.
Sorry for the delay on this - GetTeamBySlug please.
The docs say: /orgs/:org/teams/:team_slug so I would definitely use slug, since it's different from the name.
dfd7659 to
f641ff8Comparef641ff8 to
36fb317Compare
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @adrienzieba and @gauntface!
LGTM.
Awaiting second LGTM before merging.
gauntface
left a comment
There was a problem hiding this comment.
👍 and apologies again for being sooo slow.
gmlewis
commented
May 30, 2019
No problem, @gauntface! We greatly appreciate all your awesome reviews! |
Add a method to call the following endpoint
https://developer.github.com/v3/teams/#get-team-by-name