-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: Add support for Enterprise Team APIs #3861
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
base: master
Are you sure you want to change the base?
feat: Add support for Enterprise Team APIs #3861
Conversation
| } | ||
|
|
||
| // EnterpriseTeamCreateOrUpdateRequest is used to create or update an enterprise team. | ||
| type EnterpriseTeamCreateOrUpdateRequest struct { |
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.
This request struct has one field, sync_to_organizations, which isn’t added yet.
Its description says “Retired” Should I add it or leave it out?
Similarly, the EnterpriseTeam has two fields, sync_to_organizations and group_name, which are marked as Retired.
"group_name": {
"type": [
"string",
"null"
],
"description": "Retired: this field will not be returned with GHEC enterprise teams.",
"examples": [
"Justice League"
]
},
"sync_to_organizations": {
"type": "string",
"description": "Retired: this field will not be returned with GHEC enterprise teams.",
"examples": [
"disabled | all"
]
},
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.
No, let's please not add a field that the GitHub official docs say is "Retired".
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3861 +/- ##
==========================================
+ Coverage 92.36% 92.38% +0.02%
==========================================
Files 199 200 +1
Lines 14308 14360 +52
==========================================
+ Hits 13215 13267 +52
Misses 894 894
Partials 199 199 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
gmlewis
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.
Thank you, @Not-Dhananjay-Mishra!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
cc: @stevehipwell - @alexandear - @zyfy29
Related: #3860
This PR adds support for Enterprise Teams