We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f46804 + 1d814c5 commit 163dfb8Copy full SHA for 163dfb8
graphene_django/management/commands/graphql_schema.py
@@ -63,7 +63,7 @@ def get_schema(self, schema, out, indent):
63
if out == "-" or out == "-.json":
64
self.stdout.write(json.dumps(schema_dict, indent=indent, sort_keys=True))
65
elif out == "-.graphql":
66
- self.stdout.write(print_schema(schema))
+ self.stdout.write(print_schema(schema.graphql_schema))
67
else:
68
# Determine format
69
_, file_extension = os.path.splitext(out)
0 commit comments