-
Notifications
You must be signed in to change notification settings - Fork 2k
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
0.13-rc.1 notice for maintainers who build tools around graphql-js #1221
Comments
If possible you should use: import { Kind } from 'graphql'; I didn't think it will break any 3rd-part code since |
It breaks my graphql-compose, already fixed. |
It's our problem, that we use internals imports. |
Thanks for highlighting this! I'm going to close the issue, but reference it as a potentially breaking change from the release notes! |
They are not part of the official API and it broke in 0.13: graphql/graphql-js#1221
They are not part of the official API and it broke in 0.13: graphql/graphql-js#1221
They are not part of the official API and it broke in 0.13: graphql/graphql-js#1221
If your tool uses AST type checks something like:
You need to change your code in following manner:
According to last improvements for v0.13.0 by @IvanGoncharov you not able to import desired AST types directly from
graphql/language/kinds
.And if you want that your tool must support new and old versions of graphql lib, please use code above.
The text was updated successfully, but these errors were encountered: