Skip to content

Commit 165f8e5

Browse files
authored
Merge branch 'alpha' into snyk-upgrade-f3a93cd71b6a960a71c8200a6a8e1485
2 parents 63b319f + 6fb4d68 commit 165f8e5

File tree

4 files changed

+33
-23
lines changed

4 files changed

+33
-23
lines changed

package-lock.json

Lines changed: 28 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"license": "BSD-3-Clause",
2121
"dependencies": {
2222
"@graphql-yoga/node": "2.6.0",
23-
"@graphql-tools/utils": "8.10.0",
23+
"@graphql-tools/utils": "8.10.1",
2424
"@graphql-tools/merge": "8.3.3",
2525
"@graphql-tools/schema": "9.0.2",
2626
"@parse/fs-files-adapter": "1.2.2",
@@ -47,7 +47,7 @@
4747
"mustache": "4.2.0",
4848
"parse": "3.4.2",
4949
"pg-monitor": "1.4.1",
50-
"pg-promise": "10.11.1",
50+
"pg-promise": "10.12.0",
5151
"pluralize": "8.0.0",
5252
"redis": "3.1.2",
5353
"semver": "7.3.7",

src/Options/Definitions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ module.exports.ParseServerOptions = {
140140
},
141141
databaseAdapter: {
142142
env: 'PARSE_SERVER_DATABASE_ADAPTER',
143-
help: 'Adapter module for the database',
143+
help:
144+
'Adapter module for the database; any options that are not explicitly described here are passed directly to the database client.',
144145
action: parsers.moduleOrObjectParser,
145146
},
146147
databaseOptions: {

src/Options/docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @property {Number|Boolean} cluster Run with cluster, optionally set the number of processes default to os.cpus().length
2929
* @property {String} collectionPrefix A collection prefix for the classes
3030
* @property {CustomPagesOptions} customPages custom pages for password validation and reset
31-
* @property {Adapter<StorageAdapter>} databaseAdapter Adapter module for the database
31+
* @property {Adapter<StorageAdapter>} databaseAdapter Adapter module for the database; any options that are not explicitly described here are passed directly to the database client.
3232
* @property {DatabaseOptions} databaseOptions Options to pass to the database client
3333
* @property {String} databaseURI The full URI to your database. Supported databases are mongodb or postgres.
3434
* @property {Boolean} directAccess Set to `true` if Parse requests within the same Node.js environment as Parse Server should be routed to Parse Server directly instead of via the HTTP interface. Default is `false`.<br><br>If set to `false` then Parse requests within the same Node.js environment as Parse Server are executed as HTTP requests sent to Parse Server via the `serverURL`. For example, a `Parse.Query` in Cloud Code is calling Parse Server via a HTTP request. The server is essentially making a HTTP request to itself, unnecessarily using network resources such as network ports.<br><br>⚠️ In environments where multiple Parse Server instances run behind a load balancer and Parse requests within the current Node.js environment should be routed via the load balancer and distributed as HTTP requests among all instances via the `serverURL`, this should be set to `false`.

0 commit comments

Comments
 (0)