Merge branch 'main' into proxy-model-supports-reverse-relationship

This commit is contained in:
Tom Dror 2023-04-12 15:43:36 -04:00 committed by GitHub
commit 8764991101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)