Skip to content

_id is not always ObjectId() #13

@ghost

Description

In some cases _id can be just a string. But in methods findById and others hardcoded ObjectId($id) is used. So when I try to find by String, the response is empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions