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

chore: improve API query usage. #114

Merged
merged 1 commit into from
Aug 14, 2019
Merged

chore: improve API query usage. #114

merged 1 commit into from
Aug 14, 2019

Conversation

sleepdefic1t
Copy link
Contributor

API queries were previously limited to limit and page.

This PR basically just changes the API query arguments to be accepted as a string.

This PR also does the following:

  • updates all tests.
  • updates documentation to reflect changes.
  • updates changelog.

What kind of change does this PR introduce?

  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:
There will be several more updates before merge to master and a new version release.

The PR fulfills these requirements:

  • It's submitted to the develop branch, not the master branch
  • All tests are passing
  • New/updated tests are included

API queries were previously limited to `limit` and `page`.

This PR basically just changes the API query arguments to be accepted as a string.

This PR changes the Query usage as well as the following:
- updates all tests.
- updates documentation to reflect changes.
- updates changelog.
@ghost ghost added Complexity: High More than 256 lines changed. Type: Task The issue is a request to setup third-party integrations or any general non-code related tasks. Status: In Progress The issue or pull request is being worked on. labels Aug 13, 2019
@codecov-io
Copy link

Codecov Report

Merging #114 into develop will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           develop   #114   +/-   ##
======================================
  Coverage      100%   100%           
======================================
  Files           15     15           
  Lines          249    249           
======================================
  Hits           249    249
Impacted Files Coverage Δ
src/include/cpp-client/api/blocks/blocks.h 100% <ø> (ø) ⬆️
src/include/cpp-client/api/peers/peers.h 100% <ø> (ø) ⬆️
...include/cpp-client/api/transactions/transactions.h 100% <ø> (ø) ⬆️
src/include/cpp-client/api/delegates/delegates.h 100% <ø> (ø) ⬆️
src/include/cpp-client/api/wallets/wallets.h 100% <ø> (ø) ⬆️
src/include/cpp-client/api/votes/votes.h 100% <ø> (ø) ⬆️
src/api/paths.cpp 100% <100%> (ø) ⬆️

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 7b10dc5...911be33. Read the comment docs.

@sleepdefic1t sleepdefic1t marked this pull request as ready for review August 13, 2019 01:08
@sleepdefic1t
Copy link
Contributor Author

Codacy not analyzing develop.

This PR is good to go otherwise, @faustbrian

@faustbrian faustbrian merged commit da4bf7e into ArkEcosystemArchive:develop Aug 14, 2019
@ghost ghost removed the Status: In Progress The issue or pull request is being worked on. label Aug 14, 2019
@sleepdefic1t sleepdefic1t deleted the chore/query-improvements branch August 19, 2019 15:36
This was referenced Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: High More than 256 lines changed. Type: Task The issue is a request to setup third-party integrations or any general non-code related tasks.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants