From 85782699947851d6a645064284de1760f82ab47b Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 5 Nov 2024 12:35:15 +0100 Subject: [PATCH] adjust --- packages/libraries/cli/src/commands/dev.ts | 2 +- packages/libraries/cli/src/commands/schema/check.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/libraries/cli/src/commands/dev.ts b/packages/libraries/cli/src/commands/dev.ts index 83c6d54935..3ae0fd5a8b 100644 --- a/packages/libraries/cli/src/commands/dev.ts +++ b/packages/libraries/cli/src/commands/dev.ts @@ -478,7 +478,7 @@ export default class Dev extends Command { } private async resolveSdlFromUrl(url: string) { - const sdl = await loadSchema('federation-subgraph', url).catch(error => { + const sdl = await loadSchema('federation-subgraph-introspection', url).catch(error => { this.handleFetchError(error); }); diff --git a/packages/libraries/cli/src/commands/schema/check.ts b/packages/libraries/cli/src/commands/schema/check.ts index dcb1af36c2..c03134608c 100644 --- a/packages/libraries/cli/src/commands/schema/check.ts +++ b/packages/libraries/cli/src/commands/schema/check.ts @@ -170,7 +170,7 @@ export default class SchemaCheck extends Command { legacyFlagName: 'token', env: 'HIVE_TOKEN', }); - const sdl = await loadSchema(file); + const sdl = await loadSchema('introspection', file); const git = await gitInfo(() => { // noop });