google / go-github

Go library for accessing the GitHub v3 API
https://pkg.go.dev/github.com/google/go-github/v66/github
BSD 3-Clause "New" or "Revised" License
10.45k stars 2.07k forks source link

Obsolete preview APIs #2142

Open Nnachevvv opened 3 years ago

Nnachevvv commented 3 years ago

There are many files with TODO comments which address that custom accept header should be removed when the API fully launches:

// TODO: remove custom Accept header when this API fully launches.

Per my understanding API is fully launched and preview APIs are not needed. I'd be happy to make a PR to address these TODO comments

gmlewis commented 3 years ago

Please hold off on these because we are walking a fine line between supporting current top-of-trunk GitHub versus many legacy versions of GitHub Enterprise.