Closed
Description
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
- Try to set
autoSelectFamily: true
indatabaseOptions
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