Page MenuHomePhabricator

Enable store to contain several entities
Closed, InvalidPublic

Description

The entity state should become a map, so that we can save data of multiple entities (e. g. the entity being edited and the property that we’re editing, for its label).

Event Timeline

I think this task is a bit ill-specified at the moment – the state of the statements module is already a map from entity ID to statements; the state of the entity module is not a map, but also doesn’t contain any data itself. I suspect that for labels we’ll have another module, and then we need to make sure that it uses a map, like the statements module, when we write it.