Skip to content

Commit b9ecd6e

Browse files
committed
Ariadne 0.22 support
1 parent a3381b7 commit b9ecd6e

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## 0.8.0 (2024-02-21)
4+
5+
- Added support for Ariadne 0.22.
6+
7+
38
## 0.7.0 (2022-09-13)
49

510
- Added support for Ariadne schema definitions to `make_executable_schema`.

Diff for: ariadne_graphql_modules/executable_schema.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from ariadne import (
1313
SchemaBindable,
1414
SchemaDirectiveVisitor,
15-
set_default_enum_values_on_schema,
16-
validate_schema_enum_values,
15+
repair_schema_default_enum_values,
16+
validate_schema_default_enum_values,
1717
)
1818
from graphql import (
1919
ConstDirectiveNode,
@@ -60,14 +60,12 @@ def make_executable_schema(
6060
for bindable in extra_bindables:
6161
bindable.bind_to_schema(schema)
6262

63-
set_default_enum_values_on_schema(schema)
64-
6563
if extra_directives:
6664
SchemaDirectiveVisitor.visit_schema_directives(schema, extra_directives)
6765

6866
assert_valid_schema(schema)
69-
validate_schema_enum_values(schema)
70-
repair_default_enum_values(schema, type_defs)
67+
validate_schema_default_enum_values(schema)
68+
repair_schema_default_enum_values(schema)
7169

7270
add_directives_to_schema(schema, type_defs)
7371

Diff for: pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "ariadne-graphql-modules"
7-
version = "0.7.0"
7+
version = "0.8.0"
88
description = "Ariadne toolkit for defining GraphQL schemas in modular fashion."
99
authors = [{ name = "Mirumee Software", email = "[email protected]" }]
1010
readme = "README.md"
@@ -22,7 +22,7 @@ classifiers = [
2222
"Topic :: Software Development :: Libraries :: Python Modules",
2323
]
2424
dependencies = [
25-
"ariadne>=0.15.0",
25+
"ariadne>=0.22.0",
2626
]
2727

2828
[project.optional-dependencies]

0 commit comments

Comments
 (0)