mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
fcc3de2a90
When we use the `graphql_schema` management command, the output can vary from run to run depending on arbitrary factors (because there is no guarantee made about the order used to output JSON dictionary keys). This makes it difficult to compare two schema's at different points in time. We address this by including a new `canonical` flag to the command, which uses standard `json.dump` funcitonality to sort dictionary keys and force pretty-printed output. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
schema_view.py | ||
schema.py | ||
test_command.py | ||
test_converter.py | ||
test_forms.py | ||
test_query.py | ||
test_schema.py | ||
test_types.py | ||
test_utils.py | ||
test_views.py | ||
urls_inherited.py | ||
urls_pretty.py | ||
urls.py |