Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated 'introspectionQuery' constant #2124

Merged
merged 1 commit into from
Aug 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ export {
// Produce the GraphQL query recommended for a full schema introspection.
// Accepts optional IntrospectionOptions.
getIntrospectionQuery,
// @deprecated: use getIntrospectionQuery - will be removed in v15.
introspectionQuery,
// Gets the target Operation from a Document.
getOperationAST,
// Gets the Type for the target Operation AST.
Expand Down
2 changes: 0 additions & 2 deletions src/utilities/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ export {
// Produce the GraphQL query recommended for a full schema introspection.
// Accepts optional IntrospectionOptions.
getIntrospectionQuery,
// @deprecated, use getIntrospectionQuery() - will be removed in v15.
introspectionQuery,
} from './introspectionQuery';

export type {
Expand Down
7 changes: 0 additions & 7 deletions src/utilities/introspectionQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,6 @@ export function getIntrospectionQuery(options?: IntrospectionOptions): string {
`;
}

/**
* Deprecated, call getIntrospectionQuery directly.
*
* This function will be removed in v15
*/
export const introspectionQuery = getIntrospectionQuery();

export type IntrospectionQuery = {|
+__schema: IntrospectionSchema,
|};
Expand Down
2 changes: 0 additions & 2 deletions tstypes/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ export {
// Produce the GraphQL query recommended for a full schema introspection.
// Accepts optional IntrospectionOptions.
getIntrospectionQuery,
// @deprecated: use getIntrospectionQuery - will be removed in v15.
introspectionQuery,
// Gets the target Operation from a Document.
getOperationAST,
// Gets the Type for the target Operation AST.
Expand Down
6 changes: 1 addition & 5 deletions tstypes/utilities/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
// The GraphQL query recommended for a full schema introspection.
export {
getIntrospectionQuery,
// @deprecated, use getIntrospectionQuery() - will be removed in v15
introspectionQuery,
} from './introspectionQuery';
export { getIntrospectionQuery } from './introspectionQuery';

export {
IntrospectionOptions,
Expand Down
7 changes: 0 additions & 7 deletions tstypes/utilities/introspectionQuery.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ export interface IntrospectionOptions {

export function getIntrospectionQuery(options?: IntrospectionOptions): string;

/**
* Deprecated, call getIntrospectionQuery directly.
*
* This function will be removed in v15
*/
export const introspectionQuery: string;

export interface IntrospectionQuery {
readonly __schema: IntrospectionSchema;
}
Expand Down