+
Skip to content

Fix: Remove Sort & Direction Fields From IssueListCommentsOptions #1584

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

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

juanri0s
Copy link

@juanri0s juanri0s commented Jul 23, 2020

For: #1583

  • The Sort & Direction fields in IssueListCommentsOptions were removed from the github api so they no longer work.

  • Fields have been removed from the struct and any corresponding tests.

  • tests pass

  • code fmt

These are tagged as breaking changes so not sure if anything else needs to be updated to reflect that

- The `Sort` & `Direction` fields in` IssueListCommentsOptions` were removed from the github api so they no longer work.
- Fields have been removed from the struct and any corresponding tests

> These are tagged as breaking changes
@google-cla google-cla bot added the cla: yes Indication that the PR author has signed a Google Contributor License Agreement. label Jul 23, 2020
@codecov
Copy link

codecov bot commented Jul 23, 2020

Codecov Report

Merging #1584 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1584   +/-   ##
=======================================
  Coverage   67.95%   67.95%           
=======================================
  Files          96       96           
  Lines        8762     8762           
=======================================
  Hits         5954     5954           
  Misses       1898     1898           
  Partials      910      910           
Impacted Files Coverage Δ
github/issues_comments.go 78.87% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e881974...7757d83. Read the comment docs.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @juanri0s !
LGTM.

Awaiting second LGTM before merging.

@gmlewis gmlewis requested a review from wesleimp July 23, 2020 11:30
@gmlewis gmlewis added the Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). label Jul 23, 2020
Copy link
Contributor

@nightlark nightlark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gmlewis
Copy link
Collaborator

gmlewis commented Aug 10, 2020

Thank you, @nightlark !
Merging.

@gmlewis gmlewis merged commit 512c583 into google:master Aug 10, 2020
n1lesh pushed a commit to n1lesh/go-github that referenced this pull request Oct 2, 2020
@gmlewis
Copy link
Collaborator

gmlewis commented Apr 24, 2021

Unfortunately, this PR removed fields that are still being used, as the original request #1583 reported the ListCommits method, but then showed the ListComments in error.

Reverting PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). cla: yes Indication that the PR author has signed a Google Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载