icgc-argo / argo-clinical

Clinical data submission for ARGO programs.
GNU Affero General Public License v3.0
2 stars 0 forks source link

🐛 GQL filter can be undefined #1138

Open ciaranschutte opened 4 months ago

ciaranschutte commented 4 months ago

Describe the bug

It's possible for sort property of ClinicalInput gql type to be undefined which cause internal server errors in donor-repo: https://github.com/icgc-argo/argo-clinical/pull/796/files#diff-4ae4ca8a28ad6ed0bac46a024497abb3b760d8285be675fee506a8f251e7d88cR194

Screenshot 2024-02-16 at 2 19 00 AM

Steps To Reproduce

Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour

A clear and concise description of what you expected to happen.