Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion openhexa/cli/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ def _detect_graphql_breaking_changes_if_needed(token):

def _detect_graphql_breaking_changes(token):
"""Detect breaking changes between the schema referenced in the SDK and the server using graphql-core."""
stored_schema_obj = build_schema((Path(__file__).parent / "graphql" / "schema.generated.graphql").open().read())
stored_schema_obj = build_schema(
(Path(__file__).parent.parent / "graphql" / "schema.generated.graphql").open().read()
)
server_schema_obj = build_client_schema(
_query_graphql(get_introspection_query(input_value_deprecation=True), token=token)
)
Expand Down