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: remove module-based api from client #5184

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

aoyako
Copy link

@aoyako aoyako commented Oct 23, 2024

Resolves #4892
Context: #4833 (comment)

Solution

This PR removes helper query functions (such as asset::all_definitions()) in the client. Instead, an API similar to the one in smartcontracts is preferred (FindAllAssetDefinitions::new()).

Checklist

  • I've read CONTRIBUTING.md.
  • (optional) I've written unit tests for the code changes.
  • All review comments have been resolved.
  • All CI checks pass.

@github-actions github-actions bot added the api-changes Changes in the API for client libraries label Oct 23, 2024
@aoyako aoyako changed the title refactor: revise http client query api refactor: remove module-based api from client Oct 23, 2024
@aoyako aoyako marked this pull request as draft October 23, 2024 09:09
@aoyako aoyako force-pushed the revise_client_query_api branch 2 times, most recently from 0fa30fc to eebcbaf Compare October 23, 2024 09:18
@aoyako aoyako marked this pull request as ready for review October 23, 2024 09:21
nxsaken
nxsaken previously approved these changes Oct 23, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

what happened with UI files? This is probably because you are using a different version of rustc. The CI uses +nightly-2024-09-09

Copy link
Author

Choose a reason for hiding this comment

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

Changed to nightly-2024-09-09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-changes Changes in the API for client libraries
Projects
Status: In review
Development

Successfully merging this pull request may close these issues.

revise query API on client
3 participants