The EntityManager.onInit makes little sense. When should it be ran? WHen the system is initialized, or when a new entity is created, or at another time? How could it be triggered from the inside of the EntityManager but allow for passing options from the outside?
Initializing an entity is the job of the EntityFactory
See #90 for background
The
EntityManager.onInit
makes little sense. When should it be ran? WHen the system is initialized, or when a new entity is created, or at another time? How could it be triggered from the inside of the EntityManager but allow for passing options from the outside?Initializing an entity is the job of the
EntityFactory