File tree Expand file tree Collapse file tree
packages/apollo/src/commands/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,12 @@ export default class ServicePush extends ProjectCommand {
4444 gitContext
4545 } ;
4646
47+ const { schema : _ , ...restVariables } = variables ;
48+ this . debug ( "Variables sent to Engine:" ) ;
49+ this . debug ( restVariables ) ;
50+ this . debug ( "SDL of introspection sent to Engine:" ) ;
51+ this . debug ( printSchema ( schema ) ) ;
52+
4753 const response = await project . engine . uploadSchema ( variables ) ;
4854 if ( response ) {
4955 result = {
@@ -53,12 +59,6 @@ export default class ServicePush extends ProjectCommand {
5359 code : response . code
5460 } ;
5561 }
56-
57- const { schema : _ , ...restVariables } = variables ;
58- this . debug ( "Variables sent to Engine:" ) ;
59- this . debug ( restVariables ) ;
60- this . debug ( "SDL of introspection sent to Engine:" ) ;
61- this . debug ( printSchema ( schema ) ) ;
6262 }
6363 }
6464 ] ) ;
You can’t perform that action at this time.
0 commit comments