overture-stack / arranger

Data portal API and component generation
https://www.overture.bio/documentation/arranger/
GNU Affero General Public License v3.0
28 stars 24 forks source link

Investigate & Fix Mismatched Dependencies (apollo-server-core library) #644

Closed b-f-chan closed 3 years ago

b-f-chan commented 3 years ago

In the DMS-UI, we need to enable the download button to download a TSV of the table data in the UI.

@anncatton investigated with @joneubank . To do so requires setting the downloadUrl on the Table component specifically. The parameter can be set to ensure the correct domain is accessed, but Arranger server throws an error:

(0, apolloServerCore.runQuery) is not a function

There seems to be a problem with the version of apollo-server-core library Arranger is using. The team tried pinning all versions (including sub-dependencies) to version 2.14.2 but this led to further mismatched dependency version issues.

To unblock, we need to investigate and resolve the dependency issue in Arranger itself.

b-f-chan commented 3 years ago

Re-assigning to @caravinci to have an initial investigation as @joneubank is quite tied up with HCMI & other work.

b-f-chan commented 3 years ago

Tested in QA and staging, TSV download button now works, closing