Skip to content

Conversation

@jamesonwilliams
Copy link
Member

We want to stop manipulating IDs that come back from the MBE GQL API surface.

Some IDs are in the format base64("FooModelName:database_int_primary_key"), but we want to move away from this contract so that they could be, e.g., UUIDs in the future without breaking the clients.

A first step is to flag all of the places in the iOS codebase where we are making assumptions about the ID content. A next step is to find other data sources for the data we're pulling out, OR if we are just passing it into other APIs, to update those APIs to be more flexible to the ID formats we actually have on hand.

Android has been flagging these usages for some time.

Copy link
Collaborator

@Killectro Killectro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment but otherwise LGTM! Very excited to see this

@jamesonwilliams jamesonwilliams merged commit 7de420d into main Aug 6, 2025
3 checks passed
@jamesonwilliams jamesonwilliams deleted the flag-id-manipulation branch August 6, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants