-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Rename PulRequest.Comment client to PullRequest.ReviewComment #1511
Comments
Is this what you're looking for? And then should the tests be modified to use ReviewComment now? |
Yeah pretty much, although the obsolete message wording should be more in line with other examples in the code base. It also needs to be done in both the interface definition and the concrete implementation and also for the And yes updating any other test code should be done now, so that later on the removal of the deprecated endpoint is simple/surgical |
Ok and just to be clear about the Observables. That would require changing And does anything need to be done with |
What I actually meant was to make the same rename to the variable name in the observable API client structure... But you are spot on that the internals of the observable methods will also need to be tweaked to call the new client's path If you're keen to work on this just push up a PR with your progress and we can work through it there 👍 |
To better align with the API docs, the access to the
PullRequestReviewClient
should be renamed fromclient.PullRequest.Comment
toclient.PullRequest.ReviewComment
(also applies to theObservable
versions of the client)Normal octokit.net deprecation procedures should be followed (old variables being marked
[Obsolete]
for at least 2 releases before being deleted).The text was updated successfully, but these errors were encountered: