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

ra-data-graphql uses deprecated export graphql.introspectionQuery #4670

Closed
ryanberckmans opened this issue Apr 9, 2020 · 4 comments
Closed

Comments

@ryanberckmans
Copy link

ra-data-graphql uses introspectionQuery from graphql-js. This export was removed here graphql/graphql-js@6b55019. It was renamed to getIntrospectionQuery.

Currently yarn add ra-data-graphql or yarn add ra-data-graphql-simple requires yarn add graphql@14.5.8 --tilde or it will fail compilation with:

./node_modules/ra-data-graphql/esm/introspection.js
Attempted import error: 'introspectionQuery' is not exported from 'graphql'.
@djhi
Copy link
Collaborator

djhi commented Apr 10, 2020

Thanks for the report. Would you mind submitting a pull request to fix it?

@jdemangeon
Copy link
Contributor

jdemangeon commented Apr 14, 2020

PR #4674 Merged! Thanks! 👍

@jdemangeon jdemangeon added this to the 3.4.2 milestone Apr 14, 2020
@fzaninotto fzaninotto removed this from the 3.4.2 milestone Apr 14, 2020
@myhubproject
Copy link

export 'introspectionQuery' (imported as 'introspectionQuery') was not found in 'graphql'

@fzaninotto
Copy link
Member

@myhubproject If you found a bug, please open a new issue by following the issue template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants