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

Provide a way to convert Response<Empty> to any Response<T> #158

Closed
Tracked by #157
hashedone opened this issue Jun 7, 2023 · 1 comment
Closed
Tracked by #157

Provide a way to convert Response<Empty> to any Response<T> #158

hashedone opened this issue Jun 7, 2023 · 1 comment

Comments

@hashedone
Copy link
Collaborator

hashedone commented Jun 7, 2023

We need the possibility to convert a cw_std::Response<Empty> to cw_std::Response<T>. We don't want to change anything in cw-std, so we will provide our own trait performing the conversion and call where needed.

@hashedone hashedone changed the title Provide a way to convert Response<Empty> to any Response<T> (with Response<T> -> Response<T> also being supported) Provide a way to convert Response<Empty> to any Response<T> Jun 7, 2023
@hashedone
Copy link
Collaborator Author

Closed as implemented already with #146.

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

No branches or pull requests

1 participant