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

refactor(SPV-1192): replace query params by page filter. #15

Merged

Conversation

mgosek-4chain
Copy link

@mgosek-4chain mgosek-4chain commented Nov 14, 2024

The implementation introduces an updated method for setting pagination and sorting query parameters, such as pageSize, sort, and sortBy. This replaces the previous approach, which was tied to deprecated endpoints (those lacking the /api/v1 prefix).

Additionally, this update addresses an issue with validating transaction response page details. The previous implementation of the transactions API returned only the direct content of the API response page. This limited the ability to validate important information, such as the source of the returned transactions. The current implementation now ensures that all necessary response details are included, enabling proper validation.

Pull Request Checklist

  • 📖 I created my PR using provided : CODE_STANDARDS
  • 📖 I have read the short Code of Conduct: CODE_OF_CONDUCT
  • 🏠 I tested my changes locally.
  • ✅ I have provided tests for my changes.
  • 📝 I have used conventional commits.
  • 📗 I have updated any related documentation.
  • 💾 PR was issued based on the Github or Jira issue.

Copy link

Manual Tests

ℹ️ Remember to ask team members to perform manual tests and to assign tested label after testing.

client.go Outdated Show resolved Hide resolved
@mgosek-4chain mgosek-4chain merged commit 6efd9e6 into main Nov 14, 2024
8 checks passed
@mgosek-4chain mgosek-4chain deleted the refactor/SPV-1192-replace-query-params-by-page-filter branch November 14, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants