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

Fix schema print with -.graphql #1377

Merged
merged 3 commits into from Apr 10, 2023
Merged

Conversation

bendike
Copy link
Contributor

@bendike bendike commented Nov 30, 2022

Hi, we recently made to move to v3 and came across this problem. When printing the schema using the management command:

./manage.py graphql_schema --out=-.graphql

It thows an error:

AttributeError: Type "directives" not found in the Schema

The issue has been addressed here with the suggested fix implemented in this PR.

@firaskafri firaskafri merged commit 1d814c5 into graphql-python:main Apr 10, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants