Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

creating a new Entity copies over any values from Custom Entity class #255

@cfortuner

Description

@cfortuner

hey! Just wanted to post this in case anyone else came across it.

When you extend the entity class _Entity, you need to make sure to reset any custom properties you assign on the entity or else they will be copied over to any new entities that get created!

I think it would be nice to have createEntity call a reset method or avoid copying over these properites.

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