doctrine / data-fixtures

Doctrine2 ORM Data Fixtures Extensions
http://www.doctrine-project.org
MIT License
2.77k stars 224 forks source link

Dependent Fixture are being recreated if needed #357

Open mkaddouriInet opened 3 years ago

mkaddouriInet commented 3 years ago

Hello,

inside Loader (Doctrine\Common\DataFixtures). You guys have a method called addFixture, which checks if the current fixture, is dependent on another fixture. If true the fixture will be recreated by the Loader. Could you guys alter the method to check if the current class is set and if so just continue?

Kind Regards,