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

Apparently ObjectId has an _id property that points to itself #8483

Closed
adamreisnz opened this issue Jan 7, 2020 · 1 comment
Closed

Apparently ObjectId has an _id property that points to itself #8483

adamreisnz opened this issue Jan 7, 2020 · 1 comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone

Comments

@adamreisnz
Copy link
Contributor

adamreisnz commented Jan 7, 2020

Just found that #6415 exists after using mongoose for about 5 years.

This is super handy 👏 , but I wish it were documented properly.

I couldn't find it in the documentation, and the link here https://mongoosejs.com/docs/api.html#types-objectid-js seems to point to itself, not really providing any details about the ObjectId type, nor that it has an _id property.

Am I looking with my nose, or is it not documented?

@vkarpov15 vkarpov15 added this to the 5.8.7 milestone Jan 8, 2020
@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Jan 8, 2020
@vkarpov15
Copy link
Collaborator

If you couldn't find it in the docs, that's worth looking into 👍 thanks for the heads up.

@vkarpov15 vkarpov15 modified the milestones: 5.8.7, 5.8.8 Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
Development

No branches or pull requests

2 participants