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::{
2121 data:: query:: { QueryResults , QueryTarget } ,
2222 prelude:: QueryStore ,
2323} ;
24- use graphql_tools:: validation:: rules:: { LoneAnonymousOperation , FragmentsOnCompositeTypes , OverlappingFieldsCanBeMerged } ;
24+ use graphql_tools:: validation:: rules:: {
25+ FragmentsOnCompositeTypes , LoneAnonymousOperation , OverlappingFieldsCanBeMerged ,
26+ } ;
2527use graphql_tools:: validation:: validate:: { validate, ValidationPlan } ;
2628
2729use lazy_static:: lazy_static;
@@ -138,9 +140,7 @@ where
138140 ) -> Self {
139141 let logger = logger. new ( o ! ( "component" => "GraphQlRunner" ) ) ;
140142 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 ( ) } ;
144144
145145 graphql_validation_plan. add_rule ( Box :: new ( LoneAnonymousOperation { } ) ) ;
146146 graphql_validation_plan. add_rule ( Box :: new ( FragmentsOnCompositeTypes { } ) ) ;
You can’t perform that action at this time.
0 commit comments