Skip to content

Cannot assign to read only property'type'of object'#<Banner>'` #1458

@qualc

Description

@qualc

In the JavaScript grammar. After an instance of the @entity () modified new object, the attribute value of the instance can not be changed
TypeError: Cannot assign to read only property'type'of object'#<Banner>'
I try to add descriptor.writable = true in Column and so on.

function Column(typeOrOptions, options) {
    return function(object, propertyName, descriptor) {
        descriptor.writable = true;
    };
}

Did I make a mistake?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions