Skip to content

How about id virtual getter? #67

@pavch

Description

@pavch

Hello,
First, thank you for the plugin! Keep it up :)

Just a question/proposition :

Mongoose assigns each of your schemas an id virtual getter by default which returns the documents _id field cast to a string, or in the case of ObjectIds, its hexString.

Is it possible to add this functionality also for the deep populate?

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