Need to add a use futures;
statement to object derive w/ async feature.
#534
Labels
use futures;
statement to object derive w/ async feature.
#534
Describe the bug
On the master branch, using the
async
feature, use of the derive macro#[juniper::graphql_object(...)]
will cause a compilation error stating thatfutures
is not in scope. Looks like this just needs ause futures;
somewhere in the macro.To Reproduce
Just pop a
#[juniper::graphql_object(...)]
on any valid struct with theasync
feature enabled, and don'tuse futures;
anywhere in the module.Expected behavior
Pretty common issue in macros. Just need to add a use statement.
The text was updated successfully, but these errors were encountered: