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

Make helix::client::custom first-class #322

Open
2 tasks
Emilgardis opened this issue Jan 26, 2023 · 0 comments
Open
2 tasks

Make helix::client::custom first-class #322

Emilgardis opened this issue Jan 26, 2023 · 0 comments

Comments

@Emilgardis
Copy link
Member

I want to make the req_*_custom methods more useful, this would provide a way to do no allocation as wanted with #114, provided that the user creates the structs they need.

  • Don't place custom behind unsupported
  • consider improving ergonomics of how to specify return type. e.g is let resp: MyStruct = client.req_get_custom(req, &token).await?.data(); enough?
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