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

Implement Future for Builder #1

Open
soedirgo opened this issue May 15, 2020 · 0 comments
Open

Implement Future for Builder #1

soedirgo opened this issue May 15, 2020 · 0 comments
Labels

Comments

@soedirgo
Copy link
Collaborator

Currently, users have to call execute at the end of a request:

let resp = client
    .from("table")
    .select("*")
    .execute()
    .await?;

To omit this, we need to implement the Future trait, which opens a can of worms that I really don't want to deal with right now. For now, the plan is to cross fingers and wait for this to be implemented directly into reqwest's RequestBuilder (see issue 908 in reqwest).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant