Skip to content

Ability to make global id without loading the object #181

@nhorton

Description

@nhorton

I have some use cases where I need to do almost exactly what is in your docs - MyModel.find(x).to_global_id. That find(x) is a bunch of extra work that I would like to avoid. It would be really nice if I could do MyModel.global_id_for(x) and get the global ID that way. Granted, if x was a bad ID, the global_id would be bad, but that is obviously my bug.

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