File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -204,9 +204,8 @@ where
204
204
// point, and everything needs to go through the `store` we are
205
205
// setting up here
206
206
let store = self . store . query_store ( target, false ) . await ?;
207
- let state = store. deployment_state ( ) . await ?;
208
- let network = Some ( store. network_name ( ) . to_string ( ) ) ;
209
207
let schema = store. api_schema ( ) ?;
208
+
210
209
let validation_errors = validate (
211
210
& schema. document ( ) ,
212
211
& query. document ,
@@ -217,6 +216,9 @@ where
217
216
return Ok ( QueryResults :: from ( QueryResult :: from ( validation_errors) ) ) ;
218
217
}
219
218
219
+ let state = store. deployment_state ( ) . await ?;
220
+ let network = Some ( store. network_name ( ) . to_string ( ) ) ;
221
+
220
222
// Test only, see c435c25decbc4ad7bbbadf8e0ced0ff2
221
223
#[ cfg( debug_assertions) ]
222
224
let state = INITIAL_DEPLOYMENT_STATE_FOR_TESTS
You can’t perform that action at this time.
0 commit comments