Skip to content

Make objectId lexographically sortable #7830

Open
@JasCodes

Description

@JasCodes

New Feature / Enhancement Checklist

Current Limitation

objectID is not sortable by creation time.

Feature / Enhancement Description

Implement ULID spec based on https://www.npmjs.com/package/ulid-workers
One also don't need to store createdAt separately anymore and objectId can be sorted based on creation time without conflicts that might arise when you clone multiple objects from dashboard.

Example Use Case

I wanted to implement cursor based pagination. I wanted to say less than objectID with x limit to load next batch of items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions