Open
Description
Describe the bug
There are many unneeded import dependencies in the produced Entities.
Expected behavior
It should have only the dependencies that it needs. We had solved this problem in the past with deep cloning the dependencies array, because they were mutated. Something like this is happening in dependencies of Entity.