├── .flake8 ├── .github └── workflows │ └── pythonpublish.yml ├── .gitignore ├── .travis.yml ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── _config.yml ├── docs ├── allow_list.html ├── changes │ ├── argument.html │ ├── directive.html │ ├── enum.html │ ├── field.html │ ├── index.html │ ├── input.html │ ├── interface.html │ ├── object.html │ ├── schema.html │ ├── type.html │ └── union.html ├── formatting.html ├── index.html ├── schema_loader.html ├── validation.html └── validation_rules │ └── index.html ├── images ├── logo.png ├── logo.svg ├── usage.gif └── usage.svg ├── pyproject.toml ├── requirements.txt ├── requirements_dev.txt ├── schemadiff ├── __init__.py ├── __main__.py ├── allow_list.py ├── changes │ ├── __init__.py │ ├── argument.py │ ├── directive.py │ ├── enum.py │ ├── field.py │ ├── input.py │ ├── interface.py │ ├── object.py │ ├── schema.py │ ├── type.py │ └── union.py ├── diff │ ├── __init__.py │ ├── argument.py │ ├── directive.py │ ├── enum.py │ ├── field.py │ ├── input_object_type.py │ ├── interface.py │ ├── object_type.py │ ├── schema.py │ └── union_type.py ├── formatting.py ├── schema_loader.py ├── validation.py └── validation_rules │ └── __init__.py └── tests ├── __init__.py ├── data ├── allowlist.json ├── invalid_schema.gql ├── new_schema.gql ├── old_schema.gql ├── simple_schema.gql ├── simple_schema_breaking_changes.gql ├── simple_schema_dangerous_and_breaking.gql ├── simple_schema_dangerous_changes.gql ├── simple_schema_rules_validation.gql └── simple_schema_rules_validation_new.gql ├── diff ├── __init__.py ├── test_argument.py ├── test_directive.py ├── test_enum.py ├── test_field.py ├── test_input_object.py ├── test_interface.py ├── test_object_type.py ├── test_schema.py └── test_union.py ├── test_allow_list.py ├── test_change_severity.py ├── test_changes_as_json.py ├── test_cli.py ├── test_formatting.py ├── test_schema_integration.py ├── test_schema_loading.py └── test_validation_rules.py /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 120 3 | -------------------------------------------------------------------------------- /.github/workflows/pythonpublish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/.github/workflows/pythonpublish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/_config.yml -------------------------------------------------------------------------------- /docs/allow_list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/allow_list.html -------------------------------------------------------------------------------- /docs/changes/argument.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/argument.html -------------------------------------------------------------------------------- /docs/changes/directive.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/directive.html -------------------------------------------------------------------------------- /docs/changes/enum.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/enum.html -------------------------------------------------------------------------------- /docs/changes/field.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/field.html -------------------------------------------------------------------------------- /docs/changes/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/index.html -------------------------------------------------------------------------------- /docs/changes/input.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/input.html -------------------------------------------------------------------------------- /docs/changes/interface.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/interface.html -------------------------------------------------------------------------------- /docs/changes/object.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/object.html -------------------------------------------------------------------------------- /docs/changes/schema.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/schema.html -------------------------------------------------------------------------------- /docs/changes/type.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/type.html -------------------------------------------------------------------------------- /docs/changes/union.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/changes/union.html -------------------------------------------------------------------------------- /docs/formatting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/formatting.html -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/schema_loader.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/schema_loader.html -------------------------------------------------------------------------------- /docs/validation.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/validation.html -------------------------------------------------------------------------------- /docs/validation_rules/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/docs/validation_rules/index.html -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/images/logo.png -------------------------------------------------------------------------------- /images/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/images/logo.svg -------------------------------------------------------------------------------- /images/usage.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/images/usage.gif -------------------------------------------------------------------------------- /images/usage.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/images/usage.svg -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/requirements.txt -------------------------------------------------------------------------------- /requirements_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/requirements_dev.txt -------------------------------------------------------------------------------- /schemadiff/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/__init__.py -------------------------------------------------------------------------------- /schemadiff/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/__main__.py -------------------------------------------------------------------------------- /schemadiff/allow_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/allow_list.py -------------------------------------------------------------------------------- /schemadiff/changes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/__init__.py -------------------------------------------------------------------------------- /schemadiff/changes/argument.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/argument.py -------------------------------------------------------------------------------- /schemadiff/changes/directive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/directive.py -------------------------------------------------------------------------------- /schemadiff/changes/enum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/enum.py -------------------------------------------------------------------------------- /schemadiff/changes/field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/field.py -------------------------------------------------------------------------------- /schemadiff/changes/input.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/input.py -------------------------------------------------------------------------------- /schemadiff/changes/interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/interface.py -------------------------------------------------------------------------------- /schemadiff/changes/object.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/object.py -------------------------------------------------------------------------------- /schemadiff/changes/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/schema.py -------------------------------------------------------------------------------- /schemadiff/changes/type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/type.py -------------------------------------------------------------------------------- /schemadiff/changes/union.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/changes/union.py -------------------------------------------------------------------------------- /schemadiff/diff/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /schemadiff/diff/argument.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/diff/argument.py -------------------------------------------------------------------------------- /schemadiff/diff/directive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/diff/directive.py -------------------------------------------------------------------------------- /schemadiff/diff/enum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/diff/enum.py -------------------------------------------------------------------------------- /schemadiff/diff/field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/diff/field.py -------------------------------------------------------------------------------- /schemadiff/diff/input_object_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/diff/input_object_type.py -------------------------------------------------------------------------------- /schemadiff/diff/interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/diff/interface.py -------------------------------------------------------------------------------- /schemadiff/diff/object_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/diff/object_type.py -------------------------------------------------------------------------------- /schemadiff/diff/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/diff/schema.py -------------------------------------------------------------------------------- /schemadiff/diff/union_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/diff/union_type.py -------------------------------------------------------------------------------- /schemadiff/formatting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/formatting.py -------------------------------------------------------------------------------- /schemadiff/schema_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/schema_loader.py -------------------------------------------------------------------------------- /schemadiff/validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/validation.py -------------------------------------------------------------------------------- /schemadiff/validation_rules/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/schemadiff/validation_rules/__init__.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data/allowlist.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/allowlist.json -------------------------------------------------------------------------------- /tests/data/invalid_schema.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/invalid_schema.gql -------------------------------------------------------------------------------- /tests/data/new_schema.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/new_schema.gql -------------------------------------------------------------------------------- /tests/data/old_schema.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/old_schema.gql -------------------------------------------------------------------------------- /tests/data/simple_schema.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/simple_schema.gql -------------------------------------------------------------------------------- /tests/data/simple_schema_breaking_changes.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/simple_schema_breaking_changes.gql -------------------------------------------------------------------------------- /tests/data/simple_schema_dangerous_and_breaking.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/simple_schema_dangerous_and_breaking.gql -------------------------------------------------------------------------------- /tests/data/simple_schema_dangerous_changes.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/simple_schema_dangerous_changes.gql -------------------------------------------------------------------------------- /tests/data/simple_schema_rules_validation.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/simple_schema_rules_validation.gql -------------------------------------------------------------------------------- /tests/data/simple_schema_rules_validation_new.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/data/simple_schema_rules_validation_new.gql -------------------------------------------------------------------------------- /tests/diff/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/diff/test_argument.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/diff/test_argument.py -------------------------------------------------------------------------------- /tests/diff/test_directive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/diff/test_directive.py -------------------------------------------------------------------------------- /tests/diff/test_enum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/diff/test_enum.py -------------------------------------------------------------------------------- /tests/diff/test_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/diff/test_field.py -------------------------------------------------------------------------------- /tests/diff/test_input_object.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/diff/test_input_object.py -------------------------------------------------------------------------------- /tests/diff/test_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/diff/test_interface.py -------------------------------------------------------------------------------- /tests/diff/test_object_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/diff/test_object_type.py -------------------------------------------------------------------------------- /tests/diff/test_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/diff/test_schema.py -------------------------------------------------------------------------------- /tests/diff/test_union.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/diff/test_union.py -------------------------------------------------------------------------------- /tests/test_allow_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/test_allow_list.py -------------------------------------------------------------------------------- /tests/test_change_severity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/test_change_severity.py -------------------------------------------------------------------------------- /tests/test_changes_as_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/test_changes_as_json.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_formatting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/test_formatting.py -------------------------------------------------------------------------------- /tests/test_schema_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/test_schema_integration.py -------------------------------------------------------------------------------- /tests/test_schema_loading.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/test_schema_loading.py -------------------------------------------------------------------------------- /tests/test_validation_rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ambro17/graphql-schema-diff/HEAD/tests/test_validation_rules.py --------------------------------------------------------------------------------