Skip to content

Premature removal of introspection_query #69

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

Closed
Cito opened this issue Dec 2, 2019 · 3 comments
Closed

Premature removal of introspection_query #69

Cito opened this issue Dec 2, 2019 · 3 comments

Comments

@Cito
Copy link
Member

Cito commented Dec 2, 2019

In GraphQL-core 3.0.0, introspection_query has been already removed, although 3.0.0 claims to be compatible with GraphQL.js 14. This should only be removed when we release a version compatible with GraphQL.js 15.

@djstein
Copy link

djstein commented Dec 4, 2019

can confirm this is a breaking change.

@Cito
Copy link
Member Author

Cito commented Dec 4, 2019

Will release a bugfix soon. The recommended usage that should work with all versions is from graphql.utilities import get_introspection_query or from graphql import get_introspection_query and then introspection_query = get_introspection_query(). You can also pass whether you want descriptions as an argument.

@Cito
Copy link
Member Author

Cito commented Dec 6, 2019

This has now been fixed in version 3.0.1.

@Cito Cito closed this as completed Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants