Skip to content

Commit 1debec2

Browse files
authored
Update src/Options/index.js
Signed-off-by: Manuel <[email protected]>
1 parent ab87a49 commit 1debec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Options/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export interface ParseServerOptions {
202202
cacheAdapter: ?Adapter<CacheAdapter>;
203203
/* Adapter module for email sending */
204204
emailAdapter: ?Adapter<MailAdapter>;
205-
/* 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`.
205+
/* If set to `true`, a `Parse.Object` that is in the payload when calling a Cloud Function will be converted to an instance of `Parse.Object`. If `false`, the object will not be converted and instead be a plain JavaScript object, which contains the raw data of a `Parse.Object` but is not an actual instance of `Parse.Object`. Default is `false`. <br><br>ℹ️ The expected behavior would be that the object is converted to an instance of `Parse.Object`, 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 JavaScript objects are not converted to actual instances of `Parse.Object`.
206206
:DEFAULT: false */
207207
encodeParseObjectInCloudFunction: ?boolean;
208208
/* Public URL to your parse server with http:// or https://.

0 commit comments

Comments
 (0)