Skip to content
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 proto Req/Res to Pagination #6796

Merged
merged 6 commits into from
Jul 20, 2020
Merged

Rename proto Req/Res to Pagination #6796

merged 6 commits into from
Jul 20, 2020

Conversation

amaury1093
Copy link
Contributor

@amaury1093 amaury1093 commented Jul 20, 2020

Description

ref: #6664 (comment)

Remove Req/Res, use Pagination (same field name for PageRequest & PageResponse).

We use pagination already in some comments, tests, and imo it's a clearer name than other candidates (paging, page_info, page_request, page_response)


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@amaury1093 amaury1093 marked this pull request as ready for review July 20, 2020 13:33
@amaury1093 amaury1093 added the T: Proto Breaking Protobuf breaking changes: never don't do this! label Jul 20, 2020
@amaury1093 amaury1093 marked this pull request as draft July 20, 2020 14:21
@codecov
Copy link

codecov bot commented Jul 20, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@515b25b). Click here to learn what that means.
The diff coverage is 74.07%.

@@            Coverage Diff            @@
##             master    #6796   +/-   ##
=========================================
  Coverage          ?   50.46%           
=========================================
  Files             ?      125           
  Lines             ?     7573           
  Branches          ?        0           
=========================================
  Hits              ?     3822           
  Misses            ?     3410           
  Partials          ?      341           

@amaury1093 amaury1093 changed the title Rename proto Req to Pagination Rename proto Req/Res to Pagination Jul 20, 2020
@amaury1093 amaury1093 marked this pull request as ready for review July 20, 2020 14:46
Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

utACK

@sahith-narahari sahith-narahari added the A:automerge Automatically merge PR once all prerequisites pass. label Jul 20, 2020
@mergify mergify bot merged commit 69bbb8b into master Jul 20, 2020
@mergify mergify bot deleted the am-page-request branch July 20, 2020 16:51
chengwenxi pushed a commit to irisnet/cosmos-sdk that referenced this pull request Jul 22, 2020
* Rename proto Req to Pagination

* Change Res to Pagination

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. T: Proto Breaking Protobuf breaking changes: never don't do this!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants