Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Use projection option instead of deprecated fields option #17

Merged
merged 3 commits into from
Feb 26, 2020

Conversation

aldeed
Copy link
Contributor

@aldeed aldeed commented Feb 25, 2020

Eliminates these warnings that appear whenever the getPaginatedResponse function is called:

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

instead of deprecated fields

Signed-off-by: Eric Dobbertin <eric@dairystatedesigns.com>
Signed-off-by: Eric Dobbertin <eric@dairystatedesigns.com>
Signed-off-by: Eric Dobbertin <eric@dairystatedesigns.com>
@aldeed aldeed requested a review from kieckhafer February 25, 2020 23:47
Copy link
Member

@kieckhafer kieckhafer left a comment

Choose a reason for hiding this comment

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

👍

@kieckhafer kieckhafer merged commit e8df6cd into trunk Feb 26, 2020
@rc-publisher
Copy link
Collaborator

🎉 This PR is included in version 1.7.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@rc-publisher rc-publisher added the released Applied automatically by semantic-release label Feb 26, 2020
@aldeed aldeed deleted the fix-aldeed-fields-warning branch February 27, 2020 22:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
released Applied automatically by semantic-release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants