Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about id virtual getter? #67

Open
pavch opened this issue Mar 18, 2019 · 0 comments
Open

How about id virtual getter? #67

pavch opened this issue Mar 18, 2019 · 0 comments

Comments

@pavch
Copy link

pavch commented Mar 18, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant