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

Adding warning regarding ObjectId usage #5571

Merged
merged 1 commit into from
Aug 22, 2017
Merged

Adding warning regarding ObjectId usage #5571

merged 1 commit into from
Aug 22, 2017

Conversation

efkan
Copy link
Contributor

@efkan efkan commented Aug 22, 2017

Let me save a lot of time of our civilization :)

Sometimes we can try to generate an ObjectId or wrap an ObjectId key in somewhere in our code by using 'mongoose.Schema.ObjectId'.
Then we can spend minutes or hours to realize about what happened.

Thanks to this warning many developers may save time.

Let me save a lot of time our civilization :)

Sometimes we can try to generate an ObjectId or wrap an ObjectId key in somewhere in our code by using 'mongoose.Schema.ObjectId'.
Then we can spend minutes or hours to realize about what happened.

Thanks to this warning many developers may save time.
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, thanks! 🍻

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

Successfully merging this pull request may close these issues.

None yet

2 participants