Merge branch 'main' into fix_custom_resolver_multi_db_hits

This commit is contained in:
M. Hamad 2023-04-17 00:11:55 +03:00 committed by GitHub
commit 1b1092a56a
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)