Skip to content

Parse needs to allow autoSelectFamily config for the MongoDB Driver #9578

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

Closed
pocketcolin opened this issue Jan 29, 2025 · 2 comments · Fixed by #9579
Closed

Parse needs to allow autoSelectFamily config for the MongoDB Driver #9578

pocketcolin opened this issue Jan 29, 2025 · 2 comments · Fixed by #9579
Labels
state:released-alpha Released as alpha version type:feature New feature or improvement of existing feature

Comments

@pocketcolin
Copy link
Contributor

Issue Description

Node Mongo driver package released a breaking change in a minor release (v6.9) that switched the autoSelectFamily default value to true while it was previously false. Parse 7 updated the Mongo version from 4 to 6.12 so people upgrading to Parse 7 are going to be impacted by this change and without the databaseOption they'll be stuck with a new configuration.

There's a discussion about this here: https://www.mongodb.com/community/forums/t/i-keep-getting-error-when-i-try-connecting-node-to-mongodb/243422/22?page=2

Steps to reproduce

  1. Try to set autoSelectFamily: true in databaseOptions and run server

Actual Outcome

Not able to set autoSelectFamily, get error:

error: Invalid Option Keys Found: databaseOptions.autoSelectFamily

Expected Outcome

No error, Parse uses the database option.

Environment

Server

  • Parse Server version: 7 or 8

Database

  • System (MongoDB or Postgres): MongoDB
Copy link

Thanks for opening this issue!

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 8.0.0-alpha.8

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released-alpha Released as alpha version type:feature New feature or improvement of existing feature
Projects
None yet
3 participants