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

Rust DAPI client does not export AddressListError #2264

Closed
pshenmic opened this issue Oct 22, 2024 · 0 comments · Fixed by #2278
Closed

Rust DAPI client does not export AddressListError #2264

pshenmic opened this issue Oct 22, 2024 · 0 comments · Fixed by #2278
Assignees
Labels
bug Something isn't working

Comments

@pshenmic
Copy link
Collaborator

Expected Behavior

Able match on any Dapi Client's error

Current Behavior

When RS Dapi Client used in external project, and you try to match on response received from DAPI, the application cannot be built

error[E0603]: module `address_list` is private
 --> src/grpc/get_identity_by_public_key_hash.rs:9:21
  |
9 | use rs_dapi_client::address_list::AddressListError;
  |                     ^^^^^^^^^^^^  ---------------- enum `AddressListError` is not publicly re-exported
  |                     |
  |                     private module
  |
note: the module `address_list` is defined here
 --> /Users/pshenmic/RustroverProjects/platform/packages/rs-dapi-client/src/lib.rs:5:1
  |
5 | mod address_list;
  | ^^^^^^^^^^^^^^^^

Possible Solution

pub modificator is missing on address_list rust crate

Steps to Reproduce (for bugs)

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
  • Operating System and version (desktop, server, or mobile):
  • Link to your project:
@pshenmic pshenmic added the bug Something isn't working label Oct 22, 2024
@shumkov shumkov moved this to Todo in Platform team Oct 22, 2024
@shumkov shumkov self-assigned this Oct 22, 2024
@shumkov shumkov moved this from Todo to In Progress in Platform team Oct 24, 2024
@shumkov shumkov linked a pull request Oct 25, 2024 that will close this issue
6 tasks
@github-project-automation github-project-automation bot moved this from In review / testing to Done in Platform team Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants