File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ use graph::{
21
21
data:: query:: { QueryResults , QueryTarget } ,
22
22
prelude:: QueryStore ,
23
23
} ;
24
- use graphql_tools:: validation:: rules:: { LoneAnonymousOperation , FragmentsOnCompositeTypes , OverlappingFieldsCanBeMerged } ;
24
+ use graphql_tools:: validation:: rules:: {
25
+ FragmentsOnCompositeTypes , LoneAnonymousOperation , OverlappingFieldsCanBeMerged ,
26
+ } ;
25
27
use graphql_tools:: validation:: validate:: { validate, ValidationPlan } ;
26
28
27
29
use lazy_static:: lazy_static;
@@ -138,9 +140,7 @@ where
138
140
) -> Self {
139
141
let logger = logger. new ( o ! ( "component" => "GraphQlRunner" ) ) ;
140
142
let result_size = Arc :: new ( ResultSizeMetrics :: new ( registry) ) ;
141
- let mut graphql_validation_plan = ValidationPlan {
142
- rules : Vec :: new ( )
143
- } ;
143
+ let mut graphql_validation_plan = ValidationPlan { rules : Vec :: new ( ) } ;
144
144
145
145
graphql_validation_plan. add_rule ( Box :: new ( LoneAnonymousOperation { } ) ) ;
146
146
graphql_validation_plan. add_rule ( Box :: new ( FragmentsOnCompositeTypes { } ) ) ;
You can’t perform that action at this time.
0 commit comments