We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b99d881 commit 2259a87Copy full SHA for 2259a87
1 file changed
openhexa/cli/api.py
@@ -119,7 +119,9 @@ def _detect_graphql_breaking_changes_if_needed(token):
119
120
def _detect_graphql_breaking_changes(token):
121
"""Detect breaking changes between the schema referenced in the SDK and the server using graphql-core."""
122
- stored_schema_obj = build_schema((Path(__file__).parent / "graphql" / "schema.generated.graphql").open().read())
+ stored_schema_obj = build_schema(
123
+ (Path(__file__).parent.parent / "graphql" / "schema.generated.graphql").open().read()
124
+ )
125
server_schema_obj = build_client_schema(
126
_query_graphql(get_introspection_query(input_value_deprecation=True), token=token)
127
)
0 commit comments