Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Mongo _id instead of UUID for primary key #432

Open
vnugent opened this issue Nov 30, 2024 · 0 comments
Open

Use Mongo _id instead of UUID for primary key #432

vnugent opened this issue Nov 30, 2024 · 0 comments
Milestone

Comments

@vnugent
Copy link
Contributor

vnugent commented Nov 30, 2024

We use UUID as the unique ID for climb, area, user, media object, etc, both in external resources (url slugs) and internal primary keys. It's difficult to work with UUID in the backend since we need convert UUID-dash-format <--> Internal binary.

Todo:

Investigate migration paths (converting _id to ObjectID, incrementally update GQL layers and data sources

@vnugent vnugent added this to the v2 milestone Nov 30, 2024
@vnugent vnugent mentioned this issue Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant