Closed
Description
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 that futures
is not in scope. Looks like this just needs a use futures;
somewhere in the macro.
To Reproduce
Just pop a #[juniper::graphql_object(...)]
on any valid struct with the async
feature enabled, and don't use futures;
anywhere in the module.
Expected behavior
Pretty common issue in macros. Just need to add a use statement.