TLDR Dev · MISCELLANEOUS
EVERY GITHUB OBJECT HAS TWO IDS
Summary from the TLDR Dev newsletter
When building a feature for Greptile, this dev encountered an issue generating clickable GitHub links because their system stored GraphQL `node IDs` (e.g., `PRRC_kw...`), while web URLs required integer database IDs. Further investigation showed that GitHub uses two ID formats: an older, string-based system for legacy objects and a newer, more complex system for modern objects, despite inconsistent application.