mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-25 02:54:06 +03:00
Merge branch 'main' into feature/user-error-middle-ware
This commit is contained in:
commit
163dfb86fb
|
@ -63,7 +63,7 @@ class Command(CommandArguments):
|
|||
if out == "-" or out == "-.json":
|
||||
self.stdout.write(json.dumps(schema_dict, indent=indent, sort_keys=True))
|
||||
elif out == "-.graphql":
|
||||
self.stdout.write(print_schema(schema))
|
||||
self.stdout.write(print_schema(schema.graphql_schema))
|
||||
else:
|
||||
# Determine format
|
||||
_, file_extension = os.path.splitext(out)
|
||||
|
|
Loading…
Reference in New Issue
Block a user