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

DeprecationWarning: collection.find option [fields] is deprecated and will be removed in a later version. #6882

Closed
MrPeker opened this issue Aug 17, 2018 · 1 comment

Comments

@MrPeker
Copy link

MrPeker commented Aug 17, 2018

Do you want to request a feature or report a bug?
bug
What is the current behavior?
(node:35956) DeprecationWarning: collection.find option [fields] is deprecated and will be removed in a later version.
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Please mention your node.js, mongoose and MongoDB version.
Node v9.11.2
MongoDB: v3.6.1
Mongoose: v5.2.7

@lineus
Copy link
Collaborator

lineus commented Aug 17, 2018

thanks for opening this @MrPeker 👍 . I'm closing it because it's a duplicate of #6880

@lineus lineus closed this as completed Aug 17, 2018
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

2 participants