Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(pyclient): updated GraphQL metadata query to be in line with current metadata model #4621

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

YpeZ
Copy link
Contributor

@YpeZ YpeZ commented Jan 20, 2025

What are the main changes you did

In #4586 the attributes schemaName and schemaId were removed from the MolgenisTableType in the GraphqlSchemaFieldFactory.
These attributes were still present in the GraphQL query for retrieving a schema's metadata.
Posting this query to the latest versions of EMX2 causes errors as these attributes cannot be found.

This PR fixes this issue and makes the query in line with the schemas built by the backend.

How to test

Checklist

  • updated docs in case of new feature
  • added/updated tests
  • added/updated testplan to include a test for this fix, including ref to bug using # notation

@@ -167,8 +167,6 @@ def list_schema_meta():
value
}
id
schemaName
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, sorry! this is my bad. Should have made this a breaking change right?

@YpeZ YpeZ merged commit 9e3c3af into master Jan 23, 2025
7 checks passed
@YpeZ YpeZ deleted the chore/pyclient-graphql-metadata branch January 23, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants