Skip to content

Commit aa241ae

Browse files
committed
definitions
1 parent dc46608 commit aa241ae

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/Options/Definitions.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,10 @@ module.exports.ParseServerOptions = {
210210
action: parsers.booleanParser,
211211
default: false,
212212
},
213-
encodeCloudPointers: {
214-
env: 'PARSE_SERVER_ENCODE_CLOUD_POINTERS',
215-
help: 'Whether Parse Pointers should be encoded in Cloud Code.',
213+
encodePointerInCloudFunction: {
214+
env: 'PARSE_SERVER_ENCODE_POINTER_IN_CLOUD_FUNCTION',
215+
help:
216+
'If set to `true`, a `Parse.Pointer` that is in the payload when calling a Cloud Function will be converted to an instance of a `Parse.Pointer`. If `false`, the object will not be converted and instead be a plain JavaScript object, which contains the raw data of a `Parse.Pointer` but is not an actual instance of a `Parse.Pointer`. Default is `false`. <br><br>\u2139\uFE0F The expected behavior would be that the object is converted to an instance of `Parse.Pointer`, so you would normally set this option to `true`. The default is `false` because this is a temporary option that has been introduced to avoid a breaking change when fixing a bug where `Parse.Pointer` objects are not converted to actual instances of `Parse.Pointer`.',
216217
action: parsers.booleanParser,
217218
default: false,
218219
},

src/Options/docs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)