Closed
Description
New Issue Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Issue Description
I'm pretty much just adding onto issue #9211 with this issue and already have a PR to address it. There are lots of Mongo config options, but because Parse 7 now validates server config keys we now need to hardcode those options so they pass validation.
Steps to reproduce
const config = {
...,
databaseOptions: {
connectTimeoutMS: 1000,
socketTimeoutMS: 1000,
minPoolSize: 10,
}
}
Actual Outcome
Error logged:
error: Invalid Option Keys Found: databaseOptions.connectTimeoutMS, databaseOptions.socketTimeoutMS, databaseOptions.minPoolSize
Expected Outcome
No error logged, as these are all valid keys.
Environment
Server
- Parse Server version:
7.4.0