Skip to content

Commit 24db528

Browse files
committed
Remove references to introspectionQuery which is now deprecated.
Ref: graphql/graphql-js#2125
1 parent ca1b3b7 commit 24db528

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/apollo-language-server/src/providers/schema/file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class FileSchemaProvider implements GraphQLSchemaProvider {
7070

7171
const ext = extname(path);
7272

73-
// an actual introspectionQuery result, convert to DocumentNode
73+
// an actual introspection query result, convert to DocumentNode
7474
if (ext === ".json") {
7575
const parsed = JSON.parse(result);
7676
const __schema = parsed.data

packages/apollo/src/Command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export abstract class ProjectCommand extends Command {
7373
return JSON.stringify({ [key]: value });
7474
},
7575
description:
76-
"Additional header to send to server for introspectionQuery. May be used multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag."
76+
"Additional header to send during introspection. May be used multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag."
7777
}),
7878
endpoint: flags.string({
7979
description: "The url of your service"

0 commit comments

Comments
 (0)