Skip to content

Inconsistent return type / value for Parse.Object.getACL() #1949

Closed
@mtrezza

Description

@mtrezza

New Issue Checklist

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: not undefined but actually null):
    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

No one assigned

    Labels

    type:docsOnly change in the docs or README

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions