The two ID problem
Mar 10, 2017Dan Lew

Summary
This post details the challenges and solutions for managing dual identifiers (local and server-assigned) in Trello's offline mode. It describes two failed approaches (switching IDs and mapping tables) and introduces the 'local-server barrier' architecture. A key technical contribution is the annotation-based ID converter for transforming models between local and server ID schemes, highlighting its reliance on mutable data.