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

fix: explicitly set DB option to suppress deprecation warning #421

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Conversation

rupl
Copy link
Contributor

@rupl rupl commented Oct 19, 2023

The value we set is the current default for Mongoose 6, but the default will change to false in Mongoose 7. Therefore the warning was popping up.

The more conservative option is false, meaning invalid query parameters do NOT result in entire collections getting returned.

Refs: HID-2395

The value we set is the current default for Mongoose 6, but
the default will change to false in Mongoose 7. Therefore the
warning was popping up.

The more conservative option is false, meaning invalid
query parameters do NOT result in entire collections
getting returned.

Refs: HID-2395
@rupl rupl merged commit 3d33d0c into dev Oct 19, 2023
2 checks passed
@rupl rupl deleted the HID-2395 branch October 19, 2023 11:52
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.

1 participant