Skip to content

Remove "_scope" prop from User class #549

@mStirner

Description

@mStirner
module.exports = class User extends Item {

    constructor(scope, obj) {

        super(obj);

        // removed for #356
        //Object.assign(this, obj);
        //this._id = String(obj._id);

        Object.defineProperty(this, "_scope", {
            value: scope,
            writable: false,
            enumerable: false,
            configurable: false
        });

    }
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions