Mava
Mava copied to clipboard
[INVESTIGATION] Remove need for components to have names methods
What do you want to investigate?
Remove component names entirely. When storing components in a system, store them as a dictionary of {component name: component}
instead of a list of components.
This means that users don't have to worry about defining and managing component names, and components in a system can be accessed / removed / replaced by their given name in the design spec, instead of the name associated with the class.
It also means we don't need to enforce matching between component names and their design spec keys, which can become a pain to manage and seems unnecessary.
Definition of done
Components no longer need the name()
method. All existing name()
methods should be removed from the code.