Skip to content

Conversation

@huuaho
Copy link
Contributor

@huuaho huuaho commented Dec 30, 2025

C3DC-2060
The Download Metadata JSON button was not returning the genetic analysis information in the file. This was due to the query being stale and not updated when we had updated the query from the backend side.

It has since been updated

@huuaho huuaho requested review from amattu2 and Copilot December 30, 2025 15:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the GraphQL query for cohort metadata to include genetic analysis information, resolving an issue where the Download Metadata JSON button was not returning genetic analysis data. The changes also improve query formatting with consistent comma placement and add __typename fields for better GraphQL caching.

Key Changes:

  • Added genetic_analyses field with 18 properties to capture genetic analysis information
  • Standardized query parameter formatting with consistent comma placement
  • Added __typename fields to nested objects for GraphQL best practices

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@amattu2 amattu2 added this to the 1.8.0 milestone Dec 30, 2025
Copy link
Contributor

@amattu2 amattu2 left a comment

Choose a reason for hiding this comment

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

LGTM

@amattu2 amattu2 merged commit 657fe26 into 1.8.0 Dec 30, 2025
4 checks passed
@amattu2 amattu2 deleted the C3DC-2060 branch December 30, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants