Closed carcruz closed 6 months ago
Describe the bug
When requesting otarProjects in the Disease entity the API throws an Internal Server Error
otarProjects
Expected behaviour
No error gets triggered and data response
To Reproduce
Query can be run in: https://api.partner-platform.dev.opentargets.xyz/api/v4/graphql
Variable:
{ "efoId": "EFO_0003767" }
Request:
query DiseaseProfileQuery($efoId: String!) { disease(efoId: $efoId) { id ...DiseaseProfileHeaderFragment ...DiseaseProfileSummaryFragment __typename } } fragment DiseaseProfileHeaderFragment on Disease { description synonyms { relation terms __typename } __typename } fragment DiseaseProfileSummaryFragment on Disease { ...OTProjectsSummaryFragment __typename } fragment OTProjectsSummaryFragment on Disease { otarProjects { otarCode __typename } __typename }
Describe the bug
When requesting
otarProjects
in the Disease entity the API throws an Internal Server ErrorExpected behaviour
No error gets triggered and data response
To Reproduce
Query can be run in: https://api.partner-platform.dev.opentargets.xyz/api/v4/graphql
Variable:
Request: