-
-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Labels
type:docsOnly change in the docs or READMEOnly change in the docs or README
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server.
Issue Description
Inconsistent return type / value for Parse.Object.getACL()
:
- According to docs it returns
Parse.ACL
. - According to code, it returns
Parse.ACL | null
(note: notundefined
but actuallynull
):
Parse-SDK-JS/src/ParseObject.js
Lines 1063 to 1069 in fc22640
getACL(): ?ParseACL { const acl = this.get('ACL'); if (acl instanceof ParseACL) { return acl; } return null; }
Environment
Server
- Parse SDK version:
4.2.0-alpha.3
Metadata
Metadata
Assignees
Labels
type:docsOnly change in the docs or READMEOnly change in the docs or README