-
-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate 'graphql-tools' with a more clear message
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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!`); |
b39588c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: