Skip to content

[API]: id's string support in find() #7

Closed

Description

@NikSimDev

Change Type

Enhancement

Current API

static std::shared_ptr<Derived> findOrFail(int id, const std::shared_ptr<Database>& db)

Proposed API

static std::shared_ptr<Derived> findOrFail(std::string id, const std::shared_ptr<Database>& db)

Rationale

We need to process requests like http://localhost:8080/node/index/7b1ad22f-b6a2-4fdf-9ce3-e64f168fa225 for route /node/index/{id}

Activity

  1. self-assigned this
    on Oct 9, 2026
  2. linked a pull request that will close this issuefeat: added string ids support #15on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions