File tree 4 files changed +2
-5
lines changed
4 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
use constants:: * ;
2
- use graphql_parser;
3
2
use graphql_parser:: query:: OperationDefinition ;
4
3
use heck:: SnakeCase ;
5
4
use proc_macro2:: { Span , TokenStream } ;
Original file line number Diff line number Diff line change 1
1
use failure;
2
2
use fragments:: GqlFragment ;
3
- use graphql_parser;
4
- use heck:: SnakeCase ;
5
3
use operations:: Operation ;
6
- use proc_macro2:: { Ident , Span , TokenStream } ;
4
+ use proc_macro2:: TokenStream ;
7
5
use schema:: Schema ;
8
6
use selection:: Selection ;
9
7
use std:: collections:: BTreeMap ;
Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ use std::collections::HashMap;
65
65
/// Ok(())
66
66
/// }
67
67
/// ```
68
- /// ```
69
68
pub trait GraphQLQuery < ' de > {
70
69
/// The shape of the variables expected by the query. This should be a generated struct most of the time.
71
70
type Variables : serde:: Serialize ;
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ const RESPONSE: &str = include_str!("subscription/subscription_query_response.js
21
21
schema_path = "tests/subscription/subscription_schema.graphql" ,
22
22
query_path = "tests/subscription/subscription_query.graphql" ,
23
23
) ]
24
+ #[ allow( dead_code) ]
24
25
struct SubscriptionQuery ;
25
26
26
27
#[ test]
You can’t perform that action at this time.
0 commit comments