Skip to content

Commit a12eab0

Browse files
committed
fixup! feat(service:check): Add composition validation to service check
1 parent dd7b56b commit a12eab0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • packages/apollo/src/commands/service

packages/apollo/src/commands/service/check.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ export default class ServiceCheck extends ProjectCommand {
422422
gitContext: await gitInfo(this.log),
423423
frontend: flags.frontend || config.engine.frontend,
424424
...(historicParameters && { historicParameters }),
425-
// `variables` will either contain `schemaHash` or `schema`, not both.
426425
...schemaCheckSchemaVariables
427426
};
428427

@@ -432,6 +431,9 @@ export default class ServiceCheck extends ProjectCommand {
432431
if (schema) {
433432
this.debug("SDL of introspection sent to Engine:");
434433
this.debug(printSchema(schema));
434+
} else {
435+
this.debug("Schema hash generated:");
436+
this.debug(schemaCheckSchemaVariables);
435437
}
436438

437439
const newContext: typeof ctx = {

0 commit comments

Comments
 (0)