Currently, EntityChange instances are created by EntityChange::newFromUpdate, which uses global state to get en EntityFactory instance. We shoudl avoid this by moving the logic into a dedicated EntityChangeFactory object. This would also move the repo-specific logic out of EntityChange itself.
Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=3 s=2014-06-17