Remove deprecated permission property from NewTeam struct in CreateTeam.#4098
Remove deprecated permission property from NewTeam struct in CreateTeam.#4098maishivamhoo123 wants to merge 2 commits into
Conversation
|
@maishivamhoo123 - we have a challenge removing deprecated fields in this client library because we also support GitHub Enterprise users who often use this repo with older versions of GitHub Enterprise that still use deprecated fields. To support the new API, we won't necessarily be removing deprecated fields, but we may be marking fields as deprecated and adding support for new/modified endpoints, if that makes sense. |
|
@gmlewis Thanks for the clarification. I’ll keep this in mind for my next PR and make sure deprecated fields are handled appropriately. Thank you ! |
Sounds good. Closing since we can't remove deprecated fields for GitHub Enterprise users. |
Fixes #4077
Removed the deprecated permission property from the NewTeam struct request payload when a team is created.
Affected endpoints:
POST /orgs/{org}/teams