Matt Luo
Matt Luo2mo ago

How do I navigate to a foreign key's document?

Seems inconvenient now to click a foreign key and navigate to its parent table. I used to be able to see an arrow in the top right corner. Then that got replaced with a hotkey, like shift + G. Now that hotkey is gone and I don't see an option at all in the selection menu.
No description
5 Replies
Convex Bot
Convex Bot2mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
ballingt
ballingt2mo ago
@Matt Luo it looks like this isn't a Convex ID format, so it's not being identified as such. This could be a feature request, something like "if a value exists in any indexes, then allow jumping to it" but it'd be an investment. Or maybe a way to specify user-level IDs. But it'd be involved.
Matt Luo
Matt LuoOP2mo ago
Ah, userId is a string type. Is it possible to change userId data type from string to v.id("users")? To change a column name, I know that a migration is necessary to create a new column and then migrate the data to that new column. But I'm hoping a data type change might be straightforward.
ballingt
ballingt2mo ago
This still wouldn't be a Convex ID, those have a specific format and are generated by Convex
Matt Luo
Matt LuoOP2mo ago
Ohh, I misread my own data. Looks like userId is actually the the "subject" value from Clerk/User Identity API. THanks Tom

Did you find this page helpful?