diff --git a/.changeset/sixty-emus-grab.md b/.changeset/sixty-emus-grab.md new file mode 100644 index 00000000000..b7754b1af61 --- /dev/null +++ b/.changeset/sixty-emus-grab.md @@ -0,0 +1,9 @@ +--- +'graphql-tools': minor +--- + +Deprecate `graphql-tools` with a more clear message; + +This package has been deprecated and now it only exports makeExecutableSchema. +It will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc. +Check out https://www.graphql-tools.com to learn which packages you should use instead! diff --git a/packages/graphql-tools/src/index.ts b/packages/graphql-tools/src/index.ts index b214057bd3d..ffded75d023 100644 --- a/packages/graphql-tools/src/index.ts +++ b/packages/graphql-tools/src/index.ts @@ -1,5 +1,6 @@ export { makeExecutableSchema } from '@graphql-tools/schema'; console.warn(`This package has been deprecated and now it only exports makeExecutableSchema. -We recommend you to migrate to scoped packages. -Check out https://www.graphql-tools.com for more information!`); +And it will no longer receive updates. +We recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc. +Check out https://www.graphql-tools.com to learn what package you should use instead!`);