Skip to content

fix: force lookup on correct object type

Marek Szuba requested to merge github/fork/Zhicheng-Liu/bugfix/ENSEMBL-4667 into master

Created by: Zhicheng-Liu

In Genomes there are objects with different types but the same stable id. When we try to search for such object by stable id the first record is picked. That means sometimes we have an object with correct stable id but wrong type.

This is also affecting Ensembl too:

Make sure that we lookup records with correct object type accroding to endpoints.

Fixes ENSEMBL-4667.

Merge request reports