Skip to content

Commit dc46608

Browse files
dblythymtrezza
andauthored
Update src/Options/index.js
Co-authored-by: Manuel <[email protected]> Signed-off-by: Daniel <[email protected]>
1 parent 2333a59 commit dc46608

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Options/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ export interface ParseServerOptions {
196196
cacheAdapter: ?Adapter<CacheAdapter>;
197197
/* Adapter module for email sending */
198198
emailAdapter: ?Adapter<MailAdapter>;
199-
/* Whether Parse Pointers should be encoded in Cloud Code.
199+
/* 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>ℹ️ 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`.
200200
:DEFAULT: false */
201-
encodeCloudPointers: ?boolean;
201+
encodePointerInCloudFunction: ?boolean;
202202
/* Public URL to your parse server with http:// or https://.
203203
:ENV: PARSE_PUBLIC_SERVER_URL */
204204
publicServerURL: ?string;

0 commit comments

Comments
 (0)