Handle genes that exist in only one Gencode version
Some genes (for exmample, ENSG00000260458 / KCNJ18) exist in Gencode v29 but not v19. Since they're in the database, they show up in search results. But viewing the gene page with a GRCh37/Gencode 19 dataset selected results in "Gene not found".
This error message should be improved. Something along the lines of "Gene not found in gnomAD v2, but may be found in gnomAD v3".
There's also currently no way to switch datasets from the "Gene not found" page.
Since the search box now (814da3ced4a7bcd3458668d8ea76fbd0ca339aee) has a select menu for gnomAD v2 / v3 (and thus Gencode v19 / v29), this isn't as much of an issue.
It would still be nice to have something on the gene not found page if the gene does exist in a different dataset / Gencode version.
See https://blog.logrocket.com/handling-graphql-errors-like-a-champ-with-unions-and-interfaces/ for ideas on how to return details with a not found error.