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 UUIDv4 for item IDs to prevent collisions #23

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Use UUIDv4 for item IDs to prevent collisions #23

merged 1 commit into from
Jun 5, 2024

Commits on Jun 5, 2024

  1. Use UUIDv4 for item IDs to prevent collisions

    The previous solution of using an incrementing integer would result in
    collisions between items stored in state and beams, since beam IDs are
    generated on the fly and not stored in state, and the unique ID was only
    incremented when the ID was not stored in state. This makes item IDs a
    little harder to read, but ensure they remain unique across all items.
    kflorence committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    78052ae View commit details
    Browse the repository at this point in the history