Add missing use declaration in Quickstart (#838)
Seems like the example code in the quickstart guide is missing an use declaration. The code fails to compile: `error: cannot find macro `graphql_value` in this scope` with `rustc 1.48.0 (7eac88abb 2020-11-16)`
This commit is contained in:
parent
509438a5be
commit
4467b29153
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ You can invoke `juniper::execute` directly to run a GraphQL query:
|
|||
# #[macro_use] extern crate juniper;
|
||||
use juniper::{
|
||||
graphql_object, EmptyMutation, EmptySubscription, FieldResult,
|
||||
GraphQLEnum, Variables,
|
||||
GraphQLEnum, Variables, graphql_value,
|
||||
};
|
||||
|
||||
#[derive(GraphQLEnum, Clone, Copy)]
|
||||
|
|
Loading…
Reference in a new issue