Skip to content

Consider track/crate "id" struct suitable for high-level API #93

@mr-smidge

Description

@mr-smidge

Tracks and crates need a means of identification in the high-level API, but the actual nature of a unique identifier may vary between database formats (integer id, UUID, so on). As such, a combination of database type and vendor-specific identifier may be needed.

One approach could be to have a std::variant of all types of identifier, and an enum of all supported database types. Other implementations may also be suitable.

This will the current assumption that all unique track/crate identifiers will fit into a int64_t.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions