Skip to content

ActiveIndexedComponent _active flag redesign #316

Open
@jsiirola

Description

@jsiirola

Currently ActiveIndexedComponents have both an _active flag on the container and on each of the ComponentData sub-objects. I think this is confusing as you can have a situation where the container is “active” but all the contained objects are deactivated.

This strikes me as violating good DB design principles, where the same data is stored in more than one place.

I would like to propose that we remove the _active Flag from the containers and leave it only on the data objects. The active property would stay on the container, but would return False iif all contained data objects were deactivated, otherwise it would return True.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions